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 (June 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Tue, 10 Jun 2008 17:32:41 -0400
Reply-To:   msz03@albany.edu
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Mike Zdeb <msz03@ALBANY.EDU>
Subject:   Re: Floating point error
Content-Type:   text/plain;charset=iso-8859-1

hi ... you could 'punt' at this point and make HHMMSS a character variable that looks like the formatted numeric version you are trying to use in GPLOT ...

data testit; input volume hhmmss; charvar = put(hhmmss, time5.); cards; 300 53075 100 53095 -600 53116 -100 53142 ; run;

symbol1 v=dot c=blue;

proc gplot data=testit; plot volume * charvar / haxis='14:43' '14:44' '14:45' '14:46'; run; quit;

-- Mike Zdeb U@Albany School of Public Health One University Place Rensselaer, New York 12144-3456 P/518-402-6479 F/630-604-1475

> The following snippet generates a floating point error in 9.1.3 under > Windows. Tech support says the issue doesn't present under 9.2 and > suggests upgrading. Any other ideas? > > data testit; > input volume hhmmss; > cards; > 300 53075 > 100 53095 > -600 53116 > -100 53142 > ; > > proc gplot data=testit; > plot volume*hhmmss ; > format hhmmss time5.; > run; > quit; > > Many thanks, > > Mark Bjerknes > >


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