07-08-2014 04:55 AM
Please I have got two sets of data that look like this:
- mass height index class
- mass1 height1 index1 class1
where class or class1 is the group and contains 'small', 'medium' and 'large'.
Now, I would like to compare y=index; y=index1 and x=(mass height) x=(mass1 height1) in group=class and group=class1.
In all, I would like to have 4 graphs in one page (ie index compared with mass/height and index1 compared with mass1/height1, all in one page)
Thank you in advance for taking your time to help me.
07-08-2014 06:33 PM
I am having a hard time visualizing your data. Is there anyway you could restate your question using an example that everybody has available, like the SASHELP.IRIS data??? For example, the SPECIES variable in SASHELP.IRIS has 3 values (Setosa Versicolor Virginica), which are the exactly the same as your small, medium or large, but might serve somewhat the same purpose.
Another alternative is for you to post some of your data, and a DATA step program to create the SAS dataset that you have. That would allow people to play around without guessing what your data looks like. Or you could make some fake data.
07-08-2014 09:08 PM
With the given information, is appears as if the best option is to render two panels (two SGSCATTER calls) on the same page. The ODS destinations can control whether multiple outputs are placed on the same page. What output type are you creating? e.g. PDF, RTF, html, etc.