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
Kaik
Level I

Displacement of error bars on a multi-line chart

Hello,

 

I have a problem that I'm having a little trouble solving, let's see if someone can help me. I am trying to make line graph run in Graph Builder like this:

 

Kaik_0-1731583577956.png

 

So far so good, a line chart whose statistic is the mean. The problem comes when I try to add the error bars, which causes the points to move out of the corresponding x-axis category. This causes confusion and a bad visualization of the data. Attached is the example:

 

Kaik_1-1731583745649.png

 

Is there any way to solve this problem?
Thanks in advance!

 

Quique

2 ACCEPTED SOLUTIONS

Accepted Solutions
txnelson
Super User

Re: Displacement of error bars on a multi-line chart

@MRB3855 response above is the correct answer.  My response below is an Old School solution. But once again, I learn something new about JMP every day.

 

What you are seeing is because the X axis is either nominal or ordinal.  In your example it appears to be a Character column, which is nominal.  If you recode the values to numeric, continuous, and then use the Value Labels column property to map the numeric values back to the 1/2 gemmes, Control, Defoliacio labels, the offsets will be eliminated.

Here is an example using the sample Big Class data table where by default the Age variable is numeric, ordinal.  When plotted in a similar layout as your chart, it has the same issue with the offsets.

txnelson_0-1731587793484.png

In the below graph, I changed the age column to be continuous, and added Value Labels to convert the numeric values to be displayed as character labels and the offsets are eliminated.

txnelson_1-1731587933198.png

 

Jim

View solution in original post

MRB3855
Super User

Re: Displacement of error bars on a multi-line chart

Hi @Kaik : Hmmm, how about this? Go to red triangle next to "Graph Builder" and choose "Error Bar Offset...".

MRB3855_0-1731587986957.png

 

View solution in original post

6 REPLIES 6
MRB3855
Super User

Re: Displacement of error bars on a multi-line chart

Hi @Kaik : Looks like a jittering issue. Set Jitter to none.

MRB3855_0-1731586223814.png

 

Kaik
Level I

Re: Displacement of error bars on a multi-line chart

Hi MRB, 

 

Thanks for answering. It doesn't appear the option jitter when I choose line graph, instead of point graph!

Kaik_0-1731586382704.png

 

MRB3855
Super User

Re: Displacement of error bars on a multi-line chart

Hi @Kaik : Hmmm, how about this? Go to red triangle next to "Graph Builder" and choose "Error Bar Offset...".

MRB3855_0-1731587986957.png

 

Kaik
Level I

Re: Displacement of error bars on a multi-line chart

Thank you for the solution!!

 

Quique

txnelson
Super User

Re: Displacement of error bars on a multi-line chart

@MRB3855 response above is the correct answer.  My response below is an Old School solution. But once again, I learn something new about JMP every day.

 

What you are seeing is because the X axis is either nominal or ordinal.  In your example it appears to be a Character column, which is nominal.  If you recode the values to numeric, continuous, and then use the Value Labels column property to map the numeric values back to the 1/2 gemmes, Control, Defoliacio labels, the offsets will be eliminated.

Here is an example using the sample Big Class data table where by default the Age variable is numeric, ordinal.  When plotted in a similar layout as your chart, it has the same issue with the offsets.

txnelson_0-1731587793484.png

In the below graph, I changed the age column to be continuous, and added Value Labels to convert the numeric values to be displayed as character labels and the offsets are eliminated.

txnelson_1-1731587933198.png

 

Jim
Kaik
Level I

Re: Displacement of error bars on a multi-line chart

Thank you for your time Nelson!!

 

Quique

Recommended Articles