Creates a custom color theme that you can apply to components such as markers, data table rows, and treemaps. Add the color theme to the JMP Preferences by including Add Color Theme(...) inside Preferences().
Add Color Theme(
{"Blue to Purple", {"Continuous", "Diverging"}, {{0, 0, 255},
{57, 108, 244}, "white", {128, 0, 100}}} );
Any style except for Qualitative can be Continuous and Categorical at the same time. For example, the Cool to Warm Diverging theme is in the Continuous and Categorical theme lists. In JMP, select Preferences > Graphs to see examples.
To delete a color theme, use Remove Color Theme(). See Remove Color Theme("Name"|{"Name", <flags>, {color, ...}, <{position, ...}>}> for details.
The starting and ending angle in degrees, where 0 degrees is 12 o'clock and the arc or slice is drawn clockwise from startangle to endangle.
The two points can also be enclosed in square brackets: Arrow(<pixellength>, [x1, x2], [y1, y2]).
A number that describes the length of the circle’s radius in pixels. If the vertical axis is resized, the circle is not resized.
Optional string. Indicates that all circles defined in the function are filled with the current fill color. If "fill" is omitted, the circle is empty.
graphbox(circle({20, 30}, 5, {50, 50}, 15))
Converts the color argument (including any JMP color) to a list of HLS values.
A list of the hue, lightness, and saturation components of color. The values range between 0 and 1.
The output from ColorToHLS() can either be assigned to a single list variable or to a list of three scalar variables:
hls = Color To HLS( 8 );
{h, l, s} = Color To HLS( 8 );
Show( hls, h, l, s );
hls = {0.778005464480874, 0.509803921568627, 0.976};
h = 0.778005464480874;
l = 0.509803921568627;
s = 0.976;
Converts the color argument (including any JMP color) to a list of RGB values.
A list of the red, green, and blue components of color. The values range between 0 and 1.
The output from ColorToRGB() can either be assigned to a single list variable or to a list of three scalar variables:
rgb = Color To RGB( 8 );
{r, g, b} = Color To RGB( 8 );
Show( rgb, r, g, b );
rgb = {0.670588235294118, 0.0313725490196078, 0.988235294117647};
r = 0.670588235294118;
g = 0.0313725490196078;
b = 0.988235294117647;
Draws sets of contour lines of the expression, a function of the two symbols. The z argument can be a single value or an index or matrix of values.
Any expression. For example, Sine(y)+Cosine(x).
sets the transparency level of the fill. A vector of numbers between 0 and 1 are sequenced through and cycled for the z contours. This option should be used only in conjunction with the <<FillBetween option.
A matrix of x-coordinates.
A matrix of y-coordinates.
A matrix of x-coordinates.
A matrix of y-coordinates.
A matrix of x-coordinates.
A matrix of y-coordinates.
A matrix of 2 x-coordinates.
A matrix of 2 y-coordinates.
xMatrix and yMatrix should each contain exactly two values. The resulting coordinate pairs should follow the rules for drawing a rect(); the first point (given by the first value in xMatrix and the first value in yMatrix) must describe the top, left point in the rectangle, and the second point (given by the second value in xMatrix and the second value in yMatrix) must describe the bottom, right point in the rectangle.
Draws the text (or all the items if a list is specified) at the coordinates given by the matrix arguments.
A matrix of x-coordinates.
A matrix of y-coordinates.
Get Color Theme Details( "JMP Default" );
{"JMP Default", 9221, {{213, 72, 87}, {57, 177, 67}, {64, 111, 223}...}}
Get Color Theme Names();
{"Green to Black to Red", "Green to White to Red", "White to Black"...}
Get Color Theme Names( "diverging" );
{"Green to Black to Red", "Green to White to Red", "Blue to Gray to Red"...}
Gradient Function(Log(a * a + b * b),
a, b, [2 10],
Z Color([4, 6]));
Zexpr is a function in terms of the two following variables (a and b), whose values range from zlow to zhigh (2 to 10). Zcolor defines the two colors that are blended together (4 is green, 6 is orange).
Draws a horizontal line at y across the graph. If you specify start and end points on the x-axis (x1 and x2), the line is drawn horizontally at y from x1 to x2. You can also draw multiple lines by using a matrix of values in the y argument.
Places draggable marker at coordinates given by a, b. The first script is executed at drag and the second at mouseup.
Any quoted color theme that is supported by Cell Plot. The default value is "Blue to Gray to Red".
Returns 1 or 0, indicating whether the point (x, y) is inside the polygon that is defined by the xx and yy vector arguments.
The vector arguments (xx, yy) can also be combined into a 2-column matrix (xyPolygon), allowing you to use three arguments instead of four. Also, x and y can be conformable vectors, and then a vector of 0s and 1s are returned based on whether each (x, y) pair is inside the polygon.
When the second argument is a character string and not n, then the second argument determines the color theme.
Can be any number of lists of two points, separated by commas; or a matrix of x values and a matrix of y values.
–
|
0 or Solid
|
–
|
1 or Dotted
|
–
|
2 or Dashed
|
–
|
3 or DashDot
|
–
|
4 or DashDotDot
|
Draws one or more markers at the points described either by lists or matrices. The optional markerState argument sets the type of marker.
Draws normal probability contours for k populations and two variables.
A matrix of means of size k by 2.
A matrix of correlations of size k by 1.
Draws an oval inside the rectangle whose diagonal has the coordinates (x1, y1) and (x2, y2). Fill is Boolean. If fill is 0, the oval is empty. If fill is nonzero, the oval is filled with the current fill color. The default value for fill is 0.
Draws a one-pixel-wide line from the current pixel location to the location given in pixel coordinates. Set the current pixel location using the Pixel Origin and Pixel Move To commands.
area = Polygon Area( {0, 0}, {0, 10}, {10, 10}, {10, 0} );
area = Polygon Area( [10 20 30], [10 30 20] );
{cx, cy} = Polygon Centroid( {0, 0}, {0, 10}, {10, 10}, {10, 0} );
centroid = Polygon Centroid( [10 20 30], [10 30 20] );
Draws a rectangle whose diagonal has the coordinates (x1, y1) and (x2, y2). Fill is Boolean. If fill is 0, the rectangle is empty. If fill is nonzero, the rectangle is filled with the current fill color. The default value for fill is 0.
Removes a custom color theme from the global list, either by name or by the full color theme object.
A number that represents metadata such as whether the theme is continuous or categorical. Run Get Color Theme Details("name") on the color theme and use the flag that is returned.
Remove Color Theme( {"Yellow Blue", 0, {{255, 255, 0}, {0, 0, 255}}, {0.0, 1.0}} );
Draws the quoted string text at the given point, either the x and y axes or the left, bottom, right, and top axes.
Properties can be any of several named arguments: Center Justified, Right Justified, Erased, Boxed, Counterclockwise, Position, and named arguments. The position, named arguments, and strings can be added in any order. The position and named arguments apply to all the strings.
Sets the color for Text strings.
Sets the font size in points for Text strings.
Sets the transparency of the current drawing, with alpha between 0 and 1 where 0 is clear (no drawing) and 1 is completely opaque (the default).
Draws a vertical line at x across the graph. If you specify start and end points on the y-axis (y1 and y2), the line is drawn vertically at x from y1 to y2. You can also draw multiple lines by using a matrix of values in the x argument.
Returns the x-value for the left edge of the graphics frame.
Returns the distance from the left to right edge of the display box. For example, X Origin() + X Range() is the right edge.
Sets the range for the horizontal scale. The default value for xmin is 0, and the default value for xmax is 100.
Combines an expression of x(t) and y(t) to draw an x-y curve for the specified range of parameter t.
Draws a plot of the function as the symbol is varied over the x- axis of the graph.
Returns the y-value for the bottom edge of the graphics frame.
Returns the distance from the bottom to top edges of a display box. For example, Y Origin() + Y Range() is the top edge.