subscript in GPLOT axis label log10(x)

Reply
Frequent Contributor
Posts: 128

subscript in GPLOT axis label log10(x)

Hi all

Try to make a "Log10(x)" in the Yaxis in GPLOT, but don't know how.

Did a search, and found a code for SGplot, but it does not work for GPLOT.

Any help? thanks

Frequent Contributor
Posts: 128

Re: subscript in GPLOT axis label log10(x)

Found a way to fix this:

label=(a=90 h=3.59      '              Log  (Monocytes)'   f='Arial Unicode MS/unicode' '20812080'x);          *2081 = '1'  2080= '0';

but need to add 'space's to adjust the position of the "log  ( )", otherwise the small "10" will be in the middle and they will be overlap.

Any idea? this seems stupid  Smiley Sad

PROC Star
Posts: 1,324

Re: subscript in GPLOT axis label log10(x)

HI,

I'm pretty sure SAS/GRAPH still does not support in-line formatting that I would typically use for super/subscripts.

http://support.sas.com/kb/24/226.html

This article has a sort-of-work around, where I guess they create the title before they make the plot, but don't think that would help much with an axis label.

http://support.sas.com/kb/24/304.html

Hopefully someone will have a better solution.  I hate that I'm now making graphs that say O2 H2O etc.

--Q.

Ask a Question
Discussion stats
  • 2 replies
  • 439 views
  • 0 likes
  • 2 in conversation