I want to code the following contour plot using SGplot because I need to backtransform the variables.
It was generated with this code:
ods output contourfitPlot=cntrssd;
proc plm restore=an.mod1272_21;
effectplot contour(x=depth y=tempst );
and the data looks like this:
Obs _PREDICTED _XCONT2 _XCONT1
1 0.16656 -3.28626 -1.38299
2 0.16345 -3.17094 -1.38299
3 0.16038 -3.05562 -1.38299
Does anyone know how to do this?
Thanks very much!
Here are a lot of examples with code:
Keep a link to the site:
As it is a great reference for any graph you can think of.
SGPLOT does not support contours. But GTL does. Please see this sample:
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.