View previous topic :: View next topic |
Author |
Message |
nilsoberg
Joined: 01 Mar 2005 Posts: 5
|
Posted: Tue Mar 01, 2005 1:14 pm Post subject: color indexing |
|
|
Hi!
Is there any way to manually set the color for an individual curve? I have many curves that are one of two kinds on the same plot, and I need to distinguish them by color. I looked throught the developers reference, but I couldn't see anything. Thought I'd check in case there was any other way to do it.
Thanks!
Nils |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Tue Mar 01, 2005 1:35 pm Post subject: |
|
|
[Color(index,r,g,b)]
though this might not do exactly what you want. This will change the color used by the index'th curve as well as the (index+16)th, (index+32)th, etc.
Eventually I'll get rid of the 16-color limitation and you'll be able to have unique colors for all curves. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
nilsoberg
Joined: 01 Mar 2005 Posts: 5
|
Posted: Tue Mar 01, 2005 2:07 pm Post subject: |
|
|
DPlotAdmin wrote: | [Color(index,r,g,b)]
though this might not do exactly what you want. This will change the color used by the index'th curve as well as the (index+16)th, (index+32)th, etc.
Eventually I'll get rid of the 16-color limitation and you'll be able to have unique colors for all curves. |
What I actually meant was the 16-color limitation. I know that I can assign colors as you mentioned. What I really need is a way to set curves 1-50 as black, and 51-100 as green or something like that. It sounds like Dplot can't do that yet.
Thanks!
Nils |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2311 Location: Vicksburg, Mississippi
|
Posted: Tue Mar 01, 2005 2:19 pm Post subject: |
|
|
You're welcome. The 16-color limitation dates back to 16-color display modes; something that should have been changed long ago. This limit will definitely be removed, and hopefully soon. _________________ Visualize Your Data
support@dplot.com |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|