/* FINAL PLOTS CONFIDENCE INTERVAL*/
ods listing close;
ODS LISTING GPATH ='/folders/myfolders/Cmaxrit/peak1distrn/' ;
ODS GRAPHICS /reset imagename='final' outputfmt=TIFF HEIGHT = 2in WIDTH = 3in;
title "Peak1";
proc sgplot data=peak1;
density y / type=kernel lineattrs=(color=blue pattern=2) legendlabel="Cmaxcalc"; /* optional */
density dv / type=kernel lineattrs=GraphData2 legendlabel="Cmaxobs"; /* optional */
keylegend /location=inside position=topright across=1 ;
xaxis label="Concentration (ng/ml)" min=0;
run;
I have the code listed above and the code works if I output eg a *.pdf file. However when I try to output as a *.tiff I get the following error:
Can some one tell me how to output the TIFF file which I need and eliminate the errors?
Thanks
Different output formats are available with different destinations. You can find the listing in the documentation, only two types seem to support TIFF, Listing and PowerPoint and you've turned off Listing.
Output Destination
|
Supported File Types
|
---|---|
EPUB, EPUB2
|
PNG (default), GIF, JPG, SVG
|
EPUB3
|
SVG (default), PNG, GIF, JPG
Note: EPUB3 was added in SAS 9.4M1.
Note: Starting with SAS 9.4M3, EPUB3 is an alias for EPUB, and the EPUB3 supported file types supersede the EPUB supported file types.
|
ODS destination for Excel
|
PNG (default), JPEG, JPG, EMF
|
HTML
|
PNG (default), GIF, JPEG, JPG, SVG
|
HTML5
|
SVG (default), PNG, GIF, JPEG, JPG
|
LISTING
|
PNG (default), BMP, EMF, EPSI, GIF, JFIF, JPEG, JPG, PDF, PS, SASEMF, STATIC, TIFF, WMF, PSL, SVG
|
PDF
|
Native PDF (default), JPEG, JPG, GIF, PNG
|
ODS destination for PowerPoint
|
PNG (default), JPEG, JPG, GIF, EMF, TIFF, BMP
|
PS
|
PNG (default), JPEG, JPG, GIF, EPS, PDF, PCL, PS
|
RTF and Measured RTF
|
EMF (default), PNG, JPEG, JPG, JFIF
|
Different output formats are available with different destinations. You can find the listing in the documentation, only two types seem to support TIFF, Listing and PowerPoint and you've turned off Listing.
Output Destination
|
Supported File Types
|
---|---|
EPUB, EPUB2
|
PNG (default), GIF, JPG, SVG
|
EPUB3
|
SVG (default), PNG, GIF, JPG
Note: EPUB3 was added in SAS 9.4M1.
Note: Starting with SAS 9.4M3, EPUB3 is an alias for EPUB, and the EPUB3 supported file types supersede the EPUB supported file types.
|
ODS destination for Excel
|
PNG (default), JPEG, JPG, EMF
|
HTML
|
PNG (default), GIF, JPEG, JPG, SVG
|
HTML5
|
SVG (default), PNG, GIF, JPEG, JPG
|
LISTING
|
PNG (default), BMP, EMF, EPSI, GIF, JFIF, JPEG, JPG, PDF, PS, SASEMF, STATIC, TIFF, WMF, PSL, SVG
|
PDF
|
Native PDF (default), JPEG, JPG, GIF, PNG
|
ODS destination for PowerPoint
|
PNG (default), JPEG, JPG, GIF, EMF, TIFF, BMP
|
PS
|
PNG (default), JPEG, JPG, GIF, EPS, PDF, PCL, PS
|
RTF and Measured RTF
|
EMF (default), PNG, JPEG, JPG, JFIF
|
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.
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.