Share your ideas for the JMP Scripting Unsession at Discovery Summit by September 17th. We hope to see you there!
Choose Language Hide Translation Bar
Highlighted
Françoise
Level IV

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
Highlighted
Craige_Hales
Staff (Retired)

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
Highlighted
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

Highlighted
Thierry_S
Level VI

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

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

Highlighted
Craige_Hales
Staff (Retired)

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

Highlighted
Françoise
Level IV

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

Article Labels

    There are no labels assigned to this post.