- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Graph builder marker size
Hi all,
Is it possible to have a non specific (item ID) marker size customization in Graph Builder?
I have this piece of code as an example but I need the Item ID not to be specified only to the given items on the script.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Graph builder marker size
If you want the marker size to affect all the items you can most likely set the marker from frame box instead of legend
Graph Builder(
Variables(X(:weight), Y(:height), Overlay(:sex)),
Elements(Points(X, Y, Legend(3))),
SendToReport(
Dispatch(
{},
"Graph Builder",
FrameBox,
{Marker Size(5), Marker Drawing Mode("Normal")}
)
)
)
If you want different marker sizes, then I think you might have to build and expression which would dynamically updated depending on how you want to set the markers
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Graph builder marker size
And if you have multiple FrameBoxes in the Graph, you have to use @jthi 's approach and send the command to all FrameBoxes:
Names Default to Here(1);
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
gb = dt << Graph Builder(
Variables( X( :height ), Y( :weight ), Group X( :sex ), Overlay( :sex ) ),
Elements( Points( X, Y, Legend( 1 ) ), Smoother( X, Y, Legend( 2 ) ) )
);
fbs = gb << xpath("//FrameBox");
fbs << {Marker Size(5), Marker Drawing Mode("Normal")}