Title color

Q&A for Visual Basic, Visual Basic .NET, and PowerBasic developers using DPlot
Post Reply
guibson
Posts: 54
Joined: Wed Mar 10, 2004 9:20 pm

Title color

Post by guibson »

Hi

I'd like to know if it's possible to change to color for each line in graph title.

Something like
line 1 = red
line 2 = black
line 3 = blue

Thank you
________
HERBALAIRE VAPORIZER
Last edited by guibson on Fri Feb 11, 2011 10:50 pm, edited 1 time in total.
guibson
Posts: 54
Joined: Wed Mar 10, 2004 9:20 pm

Title color

Post by guibson »

OK

I found what I need

Thank you
________
Dodge monaco specifications
Last edited by guibson on Fri Feb 11, 2011 10:50 pm, edited 1 time in total.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Glad to help :D

For anyone else, you can use different colors for each title line (or parts of these lines) by embedding color codes in the text. This is equivalent to clicking the crayon button on the title entry dialog. The format is:

{\cBBGGRRtext}

where BB, GG, and RR are the blue, green, and red components of the color, expressed in hexadecimal (00-FF). So "This is {\c0000FFRed} text" will be displayed as:

This is Red text
Visualize Your Data
support@dplot.com
Post Reply