cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to create experiments to support product design and ID useful product features. Register for June 12 webinar, 2pm US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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

Recommended Articles