Skip to Content
Mathematica 錦囊妙計
book

Mathematica 錦囊妙計

by Sal Mangano
April 2014
Beginner to intermediate
830 pages
15h 21m
Chinese
GoTop Information, Inc.
Content preview from Mathematica 錦囊妙計
18.6 使用樣式表(Stylesheet)將 Notebook 檔案的外觀標準化
|
725
注意引數為字串或符號的指令是無法進行編譯的。此外,當引數為矩陣或更高階張量
時,你必須輸入方正的陣列,而不能使用如
{{1,2},{3}}
般不整齊陣列;另外,陣列
中也不能混合使用不同型態的數值。若違反了這些限制,你的函數也許還能運作,但
Mathematica 會以未編譯方式執行,如此一來便無法享受編譯帶來的好處了。
18.6  使用樣式表(Stylesheet)將 Notebook 檔
案的外觀標準化
問題點
你經常需要調整 notebook 的外觀,而且總覺得看起來不如別人的檔案或網路下載的檔案
專業。
解決方案
建立基本的 樣式表或修改 既有樣式表其 實 比你想像中簡 單, 雖然有些地方 需要一點
技巧(如果沒人教,可能想破頭也不會)。從最簡單的修改內建樣式表開始,建立新
的 notebook 檔案, 從 Format\Stylesheet 子 選 單 中選 擇 一 個 樣式 表, 圖 18-1 顯 示 的 是
以
NaturalColor
樣式表裝 配的 notebook 檔 案,
NaturalColor
樣式表位 於 Stylesheet 的
Creative 子選單下。
圖 18-1 使用 Mathematica 7 預設樣式表的 notebook 檔案
ch18.indd 725 2014/4/2 下午 04:52:00
726
|
第十八章
一旦挑選到接近想要的樣式表,你可以透過選單 Format\Edit ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Mathematica Cookbook

Mathematica Cookbook

Sal Mangano
人工智能技术与大数据

人工智能技术与大数据

Posts & Telecom Press, Anand Deshpande, Manish Kumar

Publisher Resources

ISBN: 9789863470106