Date: Fri, 22 Sep 2006 15:24:38 -0500
Reply-To: OR Stats <stats112@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: OR Stats <stats112@GMAIL.COM>
Subject: proc g3grid & proc g3d
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Dear All,
I received the following error upon invoking PROC G3D,
title1 'Display a G3D surface plot';
41 proc g3d data=mydata;
42 plot Y*X=Z;
43 run;
WARNING: Less than half of the grid cells have data values, 3-d picture
might not be produced. Use PROC G3GRID first if
necessary.
And in fact this is true, there was no graph. Following its suggestion, I
ran the following first:
proc g3grid data=mydata out=mydata_g3grided;
grid Y*X=Z /join noscale;
run;
Checking the log, it reads:
NOTE: There were 9104 observations read from the data set WORK.MYDATA.
NOTE: The data set WORK.MYDATA_g3grided has 121 observations and 3
variables.
NOTE: PROCEDURE G3GRID used (Total process time):
real time 0.10 seconds
cpu time 0.09 seconds
And indeed, a graph is now generated using this modified dataset called
'MYDATA_g3grided.' However, I would like to use more than just 121
observations of my dataset. The response I received from SAS tech support
was that "By default, PROC G3GRID produces a data set with 121 observations
for combinations of 11 values for each of the horizontal variables, X and
Y."
Can we increase the number of observation output by PROC G3GRID? Has anyone
run across this problem before?
Many thanks,
ORstats