Subscribe Bookmark RSS Feed

Very basic (?) line plot question

tf

Community Trekker

Joined:

Jun 23, 2011

Hi,

I'm quite new to JMP, so please be indulgent if my request seems trivial - I spent quite some time today trying to figure it out myself, to no avail.

I need to create very basic categorized lineplots, like this one:
http://www.gla.ac.uk/gcdkit/img/ree.gif

My dataset consists of columns containing lanthanide concentrations (what I need to plot) for each row, which are equivalent to one sample. Basically like this:

Sample_A 1 4 7
Sample_B 3 2 8
Sample_C 2 3 6

Now I just want to plot lines of lanthanide concentrations of each sample (rows), all in the same graph, basically categorized by the column headers. In excel that's easily done by line graphs, but since I need JMP for other reasons also, it would be nice if I could do all graphs including this one in JMP.

Any help would be highly appreciated!
3 REPLIES
T.,

Try Graph > Overlay Plot. Give it your three (or whatever) columns as Y.

After the graph appears, click on the red triangle menu. Select Y Options > Connect Points.

I think that's what you need.
tf

Community Trekker

Joined:

Jun 23, 2011

Thanks for your reply, unfortunately, that's something I had already tried.

Doing this plots the datapoints categorized by row number, not by the column headers. I need JMP to basically plot the data by row.
pmroz

Super User

Joined:

Jun 23, 2011

You need to do a transpose of the data and then you can plot it.

Suppose you have this table:

Sample              

La         

Ce        

Pr         

Nd

Sample_A

1

4

7

5

Sample_B

3

2

8

2

Sample_C

2

3

6

6

Click on Tables > Transpose

Highlight the columns La, Ce, Pr, Nd and click Transpose Columns.

Highlight the Sample column and click Label.

Click OK.

Now you can use graph builder and get your graph using the transposed dataset.

Regards,

Peter