Modify Individual Tick Label in Chart

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

reg_baker
Posts: 1
Joined: Sun Oct 30, 2011 10:25 am

Modify Individual Tick Label in Chart

Postby reg_baker » Sun Oct 30, 2011 10:34 am

Hi,

I've created a scatter plot through GGRAPH. Using GPL commands, I've managed to modify the color of an individual grid line using the following code:

GUIDE: form.line(position(*, 0), color(color.red))

However, I would also like to change the color of the corresponding tick value (which is 0, of course) from black (default) to red.

Anyone know if this is possible?

Thanks,

Reg
@ptk
Posts: 1
Joined: Wed Aug 11, 2010 9:28 am

Re: Modify Individual Tick Label in Chart

Postby @ptk » Wed Nov 16, 2011 9:48 am

I am interested in doing something similar, but to change the line color in a line graph between two categories.
Say that I have three categories on the x-axis, A, B, C.
I have three lines in the line graph, X, Y, Z.

Values of X= 1, 2, 3
Y= 3, 4, 5
Z= 5, 6, 7

Now I want the color of the X line to change (or become dashed) between B and C.
Y to change color/dashed between A and B
Z to change color/dashed between B and C.

How would this be possible?
All input is appreciated.

Regards
ptk

Who is online

Users browsing this forum: No registered users and 1 guest

cron