BookmarkSubscribeRSS Feed
Jaco
Calcite | Level 5

Hello there!

So sorry, I am re-posting this again because I was unable to send a reply on the other thread.

My problem looks like this:

I have two different datasets (2 different experiments) that are structured as follows:

Dataset 1: mass, height, index, class

               3         5         2.5      A

               5         2         1.5      B

               9         6          2.1     C

               4         5          1.0     A

               etc

Dataset 2: mass, height, index, class

                  2        5         7         A

                  6        2         1         B

                  8        4         4         C

                  1        2         1         A

                  etc

Therefore, in both datasets, there are 3 classes: A, B and C depending on the mass. I would like to compare the effects of index on mass and height (y=index x=(mass height)) in both datasets but with the 4 graphs appearing on the same page for easy visual comparison. How can I acheive this, please? Is it possible to have 2 pairs of graphs having different x-values in one page using sgscatter compare?

Please kindly help me!!! Thank you Dan and Cythia for your replies on the other thread. My output type is html!

Kind regards,

Jaco

1 REPLY 1
RW9
Diamond | Level 26 RW9
Diamond | Level 26

It is very difficult to read your post with all the spacing.  However you want to produce a graph with some data yes, have a look at this blog which has details for every graph I could think of and is a very good resource: http://blogs.sas.com/content/graphicallyspeaking/

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1088 views
  • 0 likes
  • 2 in conversation