Ksims
Ksims

Reputation: 17

how to plot graph of simple function in sas?

Is there a way to plot a simple graph in sas without using a data set? for instance something like y=x^2. What about multiple functions in the same graph? I feel like this should be something very easy, but as I'm still new to SAS Ive had trouble figuring it out.

Upvotes: 0

Views: 1206

Answers (1)

user667489
user667489

Reputation: 9569

To the best of my knowledge, every graphing proc requires at least one input dataset. It isn't hard to make one, though, e.g.

data parabola;
 do x = 1 to 10;
   y = x**2;
   output;
 end;
run;

Upvotes: 1

Related Questions