Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Facebook Adept Scientific on Twitter Adept Scientific on YouBube Adept Scientific on LinkedIn


The Next Steps

• Ask us a question
• Watch Maple Video Demonstrations
• Buy Maple Now
• View Maple Pricing
• Download a Brochure
• Request an Evaluation
• Meet Our Team
• Read our RSS Feeds

Learn More

Maple Home
Maple 17 Overview
Maple 17 Professional
Maple 17 Academic
Maple 17 Student Use
Maple 17 Personal Edition
What's New in Maple 17
Maple Features
Maple History
Recorded Online Seminars

MapleSim
MapleNet
Maple T.A.
BlockImporter™
Maple Toolboxes
The Möbius Project

Maple Rave Reviews
Maple Study Guides
Books about Maple
System Requirements

Latest Information

New Features: Professional
New Features: Academic
Maple Features
The Maple Reporter Online

Service & Support

Maple Primes
blogs, forums etc

Elite Maintenance Program
Application Centre
Powertools
Search the Knowledge Base
Technical Support request

List Archives >  Maple User Group List Archive >  Archive by date >  This Month By Date >  This Month By Topic

[MUG] plotting colors in maple

Search email archive for  

[MUG] plotting colors in maple
Author: Kristian Jantz    Posted: Thu, 23 Jan 2003 21:43:37 +0100

>> From: "Kristian Jantz" />
hello,
is it possible to set up a backgroundcolor for a plot in maple? i cant =
find a suitable option, i would also like to know whether there is a =
command that allows to set the foregroundcolor for all coming plots, so =
that i dont need to type color=3DXXX all the way


thank you,
Kristian

[MUG] Re: plotting colors in maple
Author: Robert Israel    Posted: Fri, 31 Jan 2003 11:44:15 -0800

>> From: Robert Israel />
Under Windows, it is possible to set the background colour for plots in
"window", but not "inline" mode. In Maple's "Users" directory (or in
the directory for a specific user, if you have installed Maple in
multi-user mode) there should be a file named maple8.ini (or maple7.ini
or maple6.ini if you have Maple 7 or Maple 6). This is a Windows
initialization file for Maple. It is a text file that can be edited
with Notepad or any text editor. Look for a line that starts

PlotBGColor=

If what comes next is default or 255 255 255, the plot backgrounds will be
white. If it is 0 0 0, they will be black. You can specify any three
numbers from 0 to 255 for the red, green and blue components. This only
takes effect when you start a new Maple session; you can't change the
colour in the middle of a session.

The default foreground colours for most plots are kept (in RGB form) in
the variable _COLORRGB. By default this is set to

[1.0, 0., 0.], [0., 1.0, 0.], [1.0, 1.0, 0.], [0., 0., 1.0], [1.0, 0.,
1.0], [0., 1.0, 1.0]

i.e. the sequence is red, green, yellow, blue, magenta, cyan (if there's
just one curve to plot, it will be red, but if there are several the
first will be red, the second green, etc., repeating if necessary).
You can change this. The RGB values for the named colours can be
found in `plot/colortable`. For example, to make the sequence gold, gray,
maroon, wheat, plum, brown, aquamarine you could say

> mycolours:= [gold, gray, maroon, wheat, plum, brown, aquamarine];
> _COLORRGB:= seq(`plot/colortable`[c], c = mycolours);


Robert Israel /> Department of Mathematics http://www.math.ubc.ca/~israel
University of British Columbia
Vancouver, BC, Canada V6T 1Z2


On Thu, 23 Jan 2003, Kristian Jantz wrote:

>
> >> From: "Kristian Jantz" /> >
> hello,
> is it possible to set up a backgroundcolor for a plot in maple? i cant =
> find a suitable option, i would also like to know whether there is a =
> command that allows to set the foregroundcolor for all coming plots, so =
> that i dont need to type color=3DXXX all the way
>
>
> thank you,
> Kristian
>



Previous by date: [MUG] Re: Maple startup options?, Bertfried Fauser
Next by date: [MUG] max element of array, Jeffrey Dambacher
Previous thread: [MUG] binomial coefficients, Maple User Group
Next thread: [MUG] max element of array, Jeffrey Dambacher



Ready to buy?

For more pricing information:
Visit our webstore, call us on +1 800 724 8380 or email us at info@adeptscience.com

Product Reviews

"Without the Maple software, we would have to spend weeks generating the equations of motion for every experiment. Then the chances that we did it right would basically be near zero. There would always be a mistake somewhere. It is very difficult to set up a dynamic motion model by hand."
- Jean-Claude PiedBeouf, Ph.D Manager of Robotics, Canadian Space Agency

"Its very good - highly accurate and easy to use. The speed of Maple allows me to change equations and quickly reintegrate them into the application, so more possibilities can be explored to achieve the precise effect desired."
Shawn Neely, Senior R & D Director for PDI/Dreamworks

Latest News

Global Optimization Toolbox: Better Optimization to Solve More Problems, Faster
Global Optimization Toolbox: Better Optimization to Solve More Problems, Faster
New MapleSim release delivers advanced model development and analysis, extended toolchain connectivity and quicker results
Maple 17 offers advanced solving and application development capabilities
New release of Maple advances teaching and research
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2013, Adept Scientific Ltd.
Site designed and maintained by Lyndon Ash

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055