I would like to graph an overlay plot. JMP limits me to putting the numerical values on the Y-Axis. I am unable to put multiple numerical parameters on the X-axis? Is there a way in JMP (JSL script even) to swap the axis?
Thanks
You need to add the bars to your graph and then change the bar style to interval.
Open("$SAMPLE_DATA\Big Class.jmp");
Graph Builder(
Variables( X( :height ), X( :weight, Position( 1 ) ), Y( :name ) ),
Elements(
Bar(
X( 1 ),
X( 2 ),
Y,
Legend( 2 ),
Bar Style( "Interval" ),
Summary Statistic( "Mean" )
)
You should be able to put numerical values on the x-axis as well. What happens when you attempt this?
Hi SFRubin I am only able to put one numerical parameter into the x-axis. As i am using the overlay plot i want to compare a few parameters on the same plot (overlay). I can do this by putting the mulitple parameters into the y-axis. The customer i am dealing with would prefer to view it with numerical values on the x-axis. Is there any option to swap the axis? or can i alter the JSL code to do so?
My apologies -- I didn't notice that you were trying to plot multiple x-axis values.
I do not know how to plot multiple x-axis values. I would suggest using separate charts, or you could try something primitive like rescaling your x-axis variables so that they can all be plotted using a single x-axis scale.
I don't think it's possible to get the graph you want out of the Overlay Plot platform.
However, you should be able to use Graph Builder to get the plot you want.
You can have multiple numeric variables on the X and Y axes in Graph Builder.
-Jeff
Hi Jeff, Thanks for reply. I tried using Graph Builder but can't get exactly what i would like. (i.e. I would like to see the shift on a unit across two parameters. So i want to connect a line between the two parameters for each unit if that makes sense). This can be done in the overlay plot using the 'needle' option. but it doesn't seem to be available in graph builder.
Absolutely fantastic thanks. I'll pretend to everyone I sorted that myself!!
Sorry last question..Can i do this for more than 2 parameters. I cannot seem to get the bar to connect to more than two. Also is there a way to change the marker point of each interval to distinguish it from the other?
Any help would be great.