BookmarkSubscribeRSS Feed
echoli
Obsidian | Level 7

Hi All,

 

How I can show ρ in the graph? I tried to use ~{unicode '03C1'x} in my template, but it shows as in the first picture. If I used ρ instead, it shows as in second picture. Any idea about this? Thanks,

 

scatter.png

4 REPLIES 4
ballardw
Super User

Code used to make the output?

Any example data?

Which ods destination is involved?

Rick_SAS
SAS Super FREQ

Are those graphs created with JMP or SAS?  If JMP, post your question to the JMP Community.

echoli
Obsidian | Level 7

Hi Rick,

 

yes, I use SAS9.4 to run this.

 

thanks,

chen

DanH_sas
SAS Super FREQ

Since you said, "template", I will assume you are using GTL for this example. Your example is also using a cell header, but the text does not appear to be generated by classification, so I will assume you are using an ENTRY inside of a CELLHEADER block. Your ENTRY statement should look something like this:

 

entry {unicode '03C1'x} " = 0.338; p < .001" / textattrs=GraphUnicodeText;

 

You do not need the ODS escape character because entries in GTL support the unicode, sup, and sub escapements outside of quoted strings.

 

Since you're referencing a character in the "03" range, your default font might not contain that character. If it doesn't, add the TEXTATTRS reference I gave above to use a more full-featured Unicode font.

 

Hope this helps!

Dan

 

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 4 replies
  • 801 views
  • 0 likes
  • 4 in conversation