hi,
is it possible to put an image in the background of a graph?
Let me explain: I have a graph with histograms representing a % of failures for a process;
I would like to overlay with an image of a process screen. I will size the graph so that the histograms are well placed on the image.
thanks fro your answers.
all the best
Try something like this:
Names Default To Here(1);
dt = Open("$SAMPLE_DATA\Cities.jmp");
gb = dt << Graph Builder( Variables( X( :POP ) ), Elements( Histogram( X, Legend( 3 ) ) ) );
frame = (gb << report)[FrameBox( 1 )];
frame << Add Image( Open("$SAMPLE_IMAGES/black rhino footprint.jpg", jpg), bounds(left(0), top(30),bottom(0),right(9000)));
For most fills in graph builder, you can right click on the legend and select Transparency...
For example:
Open("$SAMPLE_DATA\Big Class.jmp");
Graph Builder(
Variables( X( :height ) ),
Elements( Histogram( X, Legend( 5 ) ) ),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
5,
Properties(
0,
{Fill Color( 5 ), Transparency( 0.5 )},
Item ID( "height", 1 )
)
)}
)
)
);
Try something like this:
Names Default To Here(1);
dt = Open("$SAMPLE_DATA\Cities.jmp");
gb = dt << Graph Builder( Variables( X( :POP ) ), Elements( Histogram( X, Legend( 3 ) ) ) );
frame = (gb << report)[FrameBox( 1 )];
frame << Add Image( Open("$SAMPLE_IMAGES/black rhino footprint.jpg", jpg), bounds(left(0), top(30),bottom(0),right(9000)));
hi,
thanks for your answer.
Is it possible to have colors of the JMP graph with transparency?
all the best
For most fills in graph builder, you can right click on the legend and select Transparency...
For example:
Open("$SAMPLE_DATA\Big Class.jmp");
Graph Builder(
Variables( X( :height ) ),
Elements( Histogram( X, Legend( 5 ) ) ),
SendToReport(
Dispatch(
{},
"400",
ScaleBox,
{Legend Model(
5,
Properties(
0,
{Fill Color( 5 ), Transparency( 0.5 )},
Item ID( "height", 1 )
)
)}
)
)
);
You can set the transparency of the markers in almost any graph in JMP, including Graph Builder, with a right click and choose Transparency...
In this example, I've already set the transparency to .25.
Hi,
thanks
best regards