cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Browse apps to extend the software in the new JMP Marketplace
Choose Language Hide Translation Bar
Johnanderson
Level II

plot two variables in one axes using fit Y by X

Dear experts, bellow is an example table for what I aim for:

I have the three variables   A, B, and C. A and B are numeric continous and C is numeric ordinal. I would like to fit A and B in Y axes and C in x axes. How can I do it in ftx Y by X? Thanks for any help!

 

Capture.PNG

John anderson
1 ACCEPTED SOLUTION

Accepted Solutions
KarenC
Super User (Alumni)

Re: plot two variables in one axes using fit Y by X

If you use Table>Stack and stack A and B then you will get a table with a column for C, a "Label" column of As and Bs and then a Data column. Now with fit Y by X you can use C as your X and the "Data" column as your Y. The Y now has both the A and B data.

View solution in original post

2 REPLIES 2
KarenC
Super User (Alumni)

Re: plot two variables in one axes using fit Y by X

If you use Table>Stack and stack A and B then you will get a table with a column for C, a "Label" column of As and Bs and then a Data column. Now with fit Y by X you can use C as your X and the "Data" column as your Y. The Y now has both the A and B data.

Johnanderson
Level II

Re: plot two variables in one axes using fit Y by X

Nice! Thank you so much!

John anderson