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
Françoise
Level V

points and lines in a graph

hi,

 

how to do so that the points are not slightly offset ?

 

best regards

Points and lines.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Craige_Hales
Super User

Re: points and lines in a graph

Also see if the jitter setting none helps.

Graph Builder's jitter settingGraph Builder's jitter setting

Craige

View solution in original post

5 REPLIES 5
Phil_Kay
Staff

Re: points and lines in a graph

It is not clear how you created this plot. Do you have an example that you can share? The data table and graph script would be great.

Thanks,

Phil

Thierry_S
Super User

Re: points and lines in a graph

Hi Francoise,
It looks like you are using a categorical or ordinal variable type as X axis. If it is the case, the only trick I know that will center each point to the connecting line is to generate a dummy continuous variable to use instead of your current X.

Depending on the complexity and nature of your X variable, you can use the Recode function, the formula Row(), or a more complex formula to generate a continuous dummy X. Of note, make sure that the dummy Xs are numerical continuous

Best regards,

TS
Thierry R. Sornasse
Françoise
Level V

Re: points and lines in a graph

Hi,

 

you are right, the X axis has the years and months that I have configured as ordinal continuous variables. Maybe JMP RetD could fix it?

 

 

I will test your solution.

 

thank you for your reply.

 

best regards

Craige_Hales
Super User

Re: points and lines in a graph

Also see if the jitter setting none helps.

Graph Builder's jitter settingGraph Builder's jitter setting

Craige
Françoise
Level V

Re: points and lines in a graph

hi, 

thanks for your help;

 

it' s better.

see the 2 images;

 

best regardsJitter 1.jpgJitter 2.jpg