LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (August 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 8 Aug 2008 08:55:25 -0700
Reply-To:     Seeker <zhongming@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Seeker <zhongming@GMAIL.COM>
Organization: http://groups.google.com
Subject:      Save graphs into html without extra png files
Comments: To: sas-l@uga.edu
Content-Type: text/plain; charset=ISO-8859-1

Howdy, gurus

I have two SAS programs and each performs similar tasks on different data set. The plotting script is quoted below.

================================================ options nogwindow; goptions reset=all device=png;

axis1 color=black w=1 label=('Data 1'); axis2 color=black w=1 label=('Data 2'); axis3 color=black w=1 label=('Data 3');

symbol1 v=dot c=salmon;

ODS HTML FILE="boxplot.html";

proc boxplot data=test; plot v1 * mut/boxwidthscale=1 cframe=vligb cboxes=dagr cboxfill= ywh nohlabel nlegend vaxis=axis1 boxconnect=median; plot v2 * mut/boxwidthscale=1 cframe=vligb cboxes=dagr cboxfill= ywh nohlabel nlegend vaxis=axis2 boxconnect=median; plot v3 * mut/boxwidthscale=1 cframe=vligb cboxes=dagr cboxfill= ywh nohlabel nlegend vaxis=axis3 boxconnect=median; run;

ODS HTML CLOSE;

================================================

I ran the first program and it worked just fine except giving me some extra png file named "boxplot*.png" beside html output. However, when I ran the 2nd one, that png file from 1st run was overwritten as well as the fig in the first html file. I guess the html has a link pointed to the png file. Is there a way to store graphs into html so they won't be overwritten due to this annoying link issue? (e.g. mht format)

Thanks for your input! Ming


Back to: Top of message | Previous page | Main SAS-L page