Data visualization with SAS programming

gplot: negative and positive values on vaxis: need zero line

Accepted Solution Solved
Reply
Regular Contributor
Regular Contributor
Posts: 156
Accepted Solution

gplot: negative and positive values on vaxis: need zero line

Dear all,

I have the following plot:

plot_neg_pos_haxis.gif

There are negative and positive values on the vaxis. And there's one referential line in green.

Unfortunately the line on zero is not displayed. I tried the trick to display another referential line on 0, but then it is also green :-(

Any better ideas?

Best wishes

Eva


Accepted Solutions
Solution
‎12-13-2012 01:59 PM
Super User
Posts: 11,144

Re: gplot: negative and positive values on vaxis: need zero line

I see lines that make me think you have a light gray setting for cautovref.

You can use a color list with CVREF =(color1 color2 etc) to match you list of values for VREF where color1 and such are valid SAS color names.

View solution in original post


All Replies
Solution
‎12-13-2012 01:59 PM
Super User
Posts: 11,144

Re: gplot: negative and positive values on vaxis: need zero line

I see lines that make me think you have a light gray setting for cautovref.

You can use a color list with CVREF =(color1 color2 etc) to match you list of values for VREF where color1 and such are valid SAS color names.

Regular Contributor
Regular Contributor
Posts: 156

Re: gplot: negative and positive values on vaxis: need zero line

Yes I have autoref:

autovref lautovref = 2 cautovref = CXeeeeee

A colorlist is great. So that's what I did:

vref = (32 0) cvref = (green black)

And it works. Thanx a lot. That's the chart now:

two_ref_lines.gif

🔒 This topic is solved and locked.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 257 views
  • 0 likes
  • 2 in conversation