BookmarkSubscribeRSS Feed
whymath
Barite | Level 11

When I going to plot a special character ∞ (Infinity) as subscript in position of Y axis label, I just failed so many times.

So, May some of you could help me? Thanks a lot.

This is the demo code:

ods escapechar='^';

data test;
	input Dose AucInf;
	cards;
	10 11
	10 15
	20 18
	20 20
	30 24
	30 25
	;
run;

proc sgplot data = test;
	scatter x = Dose y = AucInf;
	label Dose = 'Dose(mg)' AucInf = 'AUC^{sub 0-∞}(min*ng/mL)';
run;

Like I said before, neither label statement nor yaxis statement works.

I also tried the unicode method:

https://blogs.sas.com/content/graphicallyspeaking/2011/11/14/the-power-of-unicode/

But there never have a subscript format unicode for ∞ !

1 REPLY 1
JosvanderVelden
SAS Super FREQ
The "^{sub 0-∞}" works with procedures like proc print. It does not with sgplot, unicode should work. But unicode subscript format for infinity is an issue.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1464 views
  • 0 likes
  • 2 in conversation