BookmarkSubscribeRSS Feed
muyi
Calcite | Level 5

Dear All,


I need your suggestion, why the following code for markers does not work in the rtf output? Is there anything missing?    SAS 9.2

thanks

ods graphics on/noborder;

ods rtf style=markstyle  file='C:\xx...\..x\plot.rtf';

%modstyle(name=markers, parent=listing, type=CLM,
          markers=circle triangle square diamond); 
ods listing style=markers;

proc sgplot data=data2;

3 REPLIES 3
ballardw
Super User

Other than incomplete proc sgplot code and no ODS RTF Close?

Are you getting any warnings or errors in the log when submitting the code?

Since MODSTYLE does not appear to be a SAS supplied macro, at least in my install of SAS 9.2.3, you should probably supply the source for that as well since that could be part of the problem.

Rick_SAS
SAS Super FREQ

%modstyle is an autocall macro that has been around since SAS 9.22: SAS/STAT(R) 9.22 User's Guide

See also Quick and easy with MODSTYLE - Graphically Speaking

Reeza
Super User

You've also set the LISTING style for markers not RTF.

ods rtf style=markers;

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
  • 3 replies
  • 1985 views
  • 0 likes
  • 4 in conversation