cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
babn
Level III

Graph builder problem with lines, markers, and dots

Hi All,

I am submitting this again because the response I initially accepted didn't actually solve the problem. My problem is that when I create a graph in graph builder with continuous data in the Y and the X axis, and use one categorical in the Overlay, I get continuous lines. But as soon as I put a second categorical in "Color," the lines change to dotted, etc even though the line style shows an uninterrupted line. This didn't use to happen, and I don't know why it is happening now. I tried changing the Overlay encoding to color but while that gives me continuous lines, it changes the markers to identical dots.

I am attaching a sample file from the JMP help index to which I saved the script for a couple of graphs that show what I mean.

Any help with this issue is much appreciated!

Barbara

5 REPLIES 5

Re: Graph builder problem with lines, markers, and dots

Hi Barbara, 

What you are describing sounds like the correct function to me. The Overlay Variable encodes the Style of the Lines and Markers. Could you clarify what your desired result is? Thank you for including the sample dataset; could you give a bit more context about what the example graphs are aiming to communicate? 

If you do not wanted dotted lines: have you tried setting overlay encoding to None? Now only the Color variable will affect the appearance of the lines and markers. 

If your concern is that the legend doesn't match the graph: you can edit the legend to show the missing dotted line entries by double-clicking on the legend. 

hogi
Level XIII

Re: Graph builder problem with lines, markers, and dots

link to previous post: Graph Builder Problem with Lines 

 

Overlay encoding:

hogi_0-1765974698244.png

 

babn
Level III

Re: Graph builder problem with lines, markers, and dots

Hi Christian,

I also submitted this problem to JMP support. I turns out that under Preferences - Platforms - Graph Builder, I had to set the Overlay Auto Line Style Limit to 1. If I run into this problem again or find that this setting causes other problems, I will try setting the Overlay Encoding to None.

Thanks,

Barbara

hogi
Level XIII

Re: Graph builder problem with lines, markers, and dots

Thanks @babn  & JMP support for this super cool trick.

hogi_0-1766259732818.png

 

Nevertheless:
Please be aware that it's dangerous to change settings in the preferences!
If several colleagues in a company use JMP, or if you install JMP on more than one computer you will run into unexpected issues:
Do you use the preferences? 

To avoid different plots on different computers, everyone/every computer in the company must (!) share the same settings in the preferences.

hogi
Level XIII

Re: Graph builder problem with lines, markers, and dots

On the other hand:
Overlay with same line style : sounds familiar - here  are some related topics:

And a bit off-topic:

Recommended Articles