Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
ColorTools/AddPalette - カラーパレットを登録
使い方
AddPalette(N, P)
パラメータ
N
-
パレットを識別するための名前
P
ColorTools[Palette] で作成されたパレットオブジェクト
説明
このコマンドは、N という名前のパレット P を登録して、すべての ColorTools コマンドで使用できるようにします。文字列 N に含めることができるのは、英数字のみです。大文字で入力した場合も、小文字に変換して保存されます。
パレットを追加すると、既存の全パレットの正規化名のリストが返されます。
互換性
ColorTools/AddPalette コマンドは Maple 16 で導入されました。
Maple 16 における変更点についての詳細は、Maple 16 の新機能 を参照してください。
例
with(ColorTools):
P := Palette(["Red"=Color("#f00"), "Blue"=Color("#00f"), "Green"=Color("#0f0")]);
AddPalette("Primary", P);
NameToRGB24("Primary Green");
NearestNamedColor([0,255,0], palette="Primary");
RemovePalette("Primary");
参照
ColorTools[NameToRGB24]、ColorTools[NearestNamedColor]、ColorTools[Palette]、ColorTools[RemovePalette]
Download Help Document