- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Graphics Scripts ignore Pen color.
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/big class.jmp" );
Graph Builder(
Size( 528, 456 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Line( X, Y, Legend( 8 ) ) ),
SendToReport(
Dispatch(
{},
"Graph Builder",
FrameBox,
{Add Graphics Script(
2,
Description( "" ),
Marker Size( 9 );
Pen Color( "Red" );
Marker( Marker State( 1 ), [113], [69] );
), Grid Line Order( 1 ), Reference Line Order( 3 ),
DispatchSeg(
TopSeg( 1 ),
{Set Script(
Marker Size( 9 );
Pen Color( "Red" );
Marker( Marker State( 1 ), [113], [69] );
)}
)}
)
)
);
// or
/*
gb = dt << Graph Builder(
Size( 528, 456 ),
Show Control Panel( 0 ),
Variables( X( :weight ), Y( :height ) ),
Elements( Line( X, Y, Legend( 8 ) ) )
);
Report( gb )[FrameBox( 1 )] << Add Graphics Script(
Marker Size( 9 );
Pen Color( "Red" );
Marker( Marker State( 1 ), [113], [69] );
);
*/
Why doesn't the marker ever show up as red?
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Graphics Scripts ignore Pen color.
You need to specify a Marker Color, not Pen Color
Marker( Color State( Red ), Marker State( 1 ), [113], [69] );
Jim
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Graphics Scripts ignore Pen color.
You need to specify a Marker Color, not Pen Color
Marker( Color State( Red ), Marker State( 1 ), [113], [69] );
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Graphics Scripts ignore Pen color.
Thank you kindly, I found several examples on the forum that said pen color but they all specified it as black and no changes would come through.
Appreciate it!