Color problem?

Found a bug? Tell us about it here

Moderator: DPlotAdmin

Post Reply
Bercic
Posts: 27
Joined: Mon May 17, 2004 6:44 am
Location: Slovenia

Color problem?

Post by Bercic »

The color for the curves is defined as (R,G;B). However, when coloring text the color sequence is reversed (B,G,R). This made me big problems when I want to color labels/text through the DDE. Is it possible to fixe this? Probably not, but anyway I hope that you will give a notice to this problem/discrepancy in your manuals. Example of red letters in axis text: Tem{\c0000ffpera}ture, K. The red color for curve 3 is determined by the following call [Color(3,255,0,0)].

Thanks for all improvements and powerful Dplot.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

I guess I don't see the problem. If anything I'd think translating to hex would be more of a problem than the order. In any case, your "probably not" is correct. The only way to do this would be to come up with a new command that expects color components in the same order.
Visualize Your Data
support@dplot.com
Post Reply