Used by: | GBARLINE, GCONTOUR, GPLOT |
Type: | Global |
If you do not use a SYMBOL statement to specify a color for each symbol, but you do specify a color list in a GOPTIONS statement, then Java and ActiveX assign symbols and symbol colors differently than other devices. To ensure consistency on all devices, you should use SYMBOL statements to explicitly specify the symbols and symbol colors that you want to use in your plot.
/bold
and /italic
font
modifiers.symbol font="Albany AMT" value="80"x; /* hexadecimal code for the Euro symbol */ symbol font="Monotype Sorts" value="s"; /* character code for a filled triangle */ symbol font="Cumberland AMT/bo" value="F"; /* prints the letter F in bold */
symbol font= value=dot;
Only single-byte symbol characters are supported.
Specifying Special Characters Using Character and Hexadecimal Codes
Neither the Java applet nor the ActiveX control supports HEIGHT= with PROC GCONTOUR.
The HEIGHT= option affects only the height of the symbols and labels on the plot; it does not affect the height of any symbols that might appear in a legend.
The HEIGHT option overrides the MarkerSize attribute in ODStyles. For more information about ODS styles, see the SAS Output Delivery System: User's Guide.
symbol1 i=none v=star color=green; symbol2 i=box v=none color=blue; proc gplot data=test; plot (y y)*x / overlay;
When using DEVICE=JAVA and DEVICE=JAVAIMG with overlaid plots, different interpolations are supported per overlay unless any of the interpolations is BOX, HILO or STD. When any of these interpolations are encountered, the first interpolation specified becomes the only interpolation that is used for all overlays. All other interpolations are ignored.
I=R0CLM95
I=RCLM95
When points on the graph are close together and a spline interpolation is used, the Java applet is unable to draw some line types correctly.
By default, the vertical axis ranges from the minimum to the maximum Y value in the data. If the requested number of standard deviations from the mean covers a range of values that exceeds the maximum or is less than the minimum, the STD lines are cut off at the minimum and maximum Y values. When this cutoff occurs, rescale the axis using VAXIS= in the PLOT statement or ORDER= in an AXIS definition so that the STD lines are shown.
The ActiveX and Java devices do not support the S option. For these devices, use the SORT procedure or the ORDER= option on an AXIS statement to sort your data by the independent variable before calling the GPLOT or GBARLINE procedure.
Neither the Java applet nor ActiveX control supports GCONTOUR.
POINTLABEL=("#sales")
POINTLABEL=("#height:#weight")anksBy default, when you specify two variables, a colon (:) is displayed in the label to separate the variable values. To change the character that displays as the delimiter, use the $ syntax to specify an alternative character. The following option specifies a vertical bar (|) as the delimiter in the label:
POINTLABEL=("#height:#weight $|")The $ syntax must be within the same quotation marks as the variable specification. The $ specification can precede or follow the variable specification, but it must be separated from the variable specification by at least one space.
There is a 16-character length limit for each variable. A maximum character length limit of thirty-three characters is possible. This can be composed of X and Y variables, any other valid data set variable, and a separator as required.
Creating multiple plots that share the same or close-ranging data points, along with specifying appearance suboptions, can result in multiple data point labels.
Depending on the appearance suboptions, for example HEIGHT=, that you use for point labels, the labels can overlap other elements on the graph. When this occurs a warning appears in the SAS log.
The algorithm for placing markers on the graph repositions point labels that are overwriting a graphics output area boundary. When this occurs a note appears in the SAS log.
font=,This means that you cannot use VALUE=special-symbol or VALUE=SPECIAL if you are using the FONT= option.
symbol font=swiss value=plus;
The VALUE option overrides the MarkerSymbol attribute in graph styles.
Creating and Modifying Box Plots
Labeling Contour Lines, Modifying the Horizontal Axis, Modifying the Legend
Java and ActiveX do not provide the same measure of control
for width as the other
symbol4 height=;
symbol4 interpol=join;
symbol4 value=star cv=blue interpol=join;
symbol4;
goptions reset=symbol;
symbol1 value=star color=green; symbol2 value=square color=yellow; symbol3 value=special color=cyan; symbol4 value=special color=orange;
goptions colors=(red blue green); symbol1 value=star; symbol2 value=square color=yellow; symbol3 value=special;
symbol1 value=hash color=green; symbol2 value=) color=blue;
symbol1 i=splines c=red; symbol2 i=splines c=blue; symbol3 i=splines c=green; proc gplot; plot y1*x1 y2*x2 y3*x3 / overlay; run;
symbol cv=red ci=blue co=green;
goptions csymbol=green; symbol1 value=star; symbol2 value=square; symbol3 value=special;
goptions colors=(blue red green); symbol1 cv=red i=join; symbol2 i=spline v=dot; symbol3 cv=green v=star;
goptions colors=(blue red green); symbol1 color=gold repeat=2; symbol2 value=star color=cyan; symbol3 value=square repeat=2;