Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Graphics

Usage

Graphics[primitives, options] represents a two-dimensional graphical image.


Notes

Graphics is displayed using Show.
• The following graphics primitives can be used:
Circle[{x, y}, r] circle
Disk[{x, y}, r] filled disk
Line[{{ ,  }, ... }] line
Point[{x, y}] point
Polygon[{{ ,  }, ... }] polygon
Raster[array] array of gray levels
RasterArray[garray] array of colored cells
Rectangle[{ ,  }, { ,  }] rectangle
Text[expr, {x, y}] text
• The sound primitives SampledSoundList and SampledSoundFunction can also be included.
• The following graphics directives can be used:
AbsoluteDashing[{ , ... }] absolute line dashing specification
AbsolutePointSize[d] absolute point size specification
AbsoluteThickness[w] absolute line thickness specification
CMYKColor[c, m, y, k] color specification
Dashing[{ , ... }] line dashing specification
GrayLevel[i] intensity specification
Hue[h] hue specification
PointSize[d] point size specification
RGBColor[r, g, b] color specification
Thickness[w] line thickness specification
• The following options can be given:
AspectRatio 1/GoldenRatio ratio of height to width
Axes False whether to draw axes
AxesLabel None axes labels
AxesOrigin Automatic where axes should cross
AxesStyle Automatic graphics directives to specify the style for axes
Background Automatic background color for the plot
ColorOutput Automatic type of color output to produce
DefaultColor Automatic the default color for plot elements
DisplayFunction $DisplayFunction function for generating output
Epilog {} graphics primitives to be rendered after the main plot
FormatType $FormatType the default format type for text
Frame False whether to put a frame around the plot
FrameLabel None frame labels
FrameStyle Automatic graphics directives giving the style for the frame
FrameTicks Automatic frame tick marks
GridLines None grid lines to draw
ImageSize Automatic the absolute size at which to render the graphic
PlotLabel None a label for the plot
PlotRange Automatic range of values to include
PlotRegion Automatic the final display region to be filled
Prolog {} graphics primitives to be rendered before the main plot
RotateLabel True whether to rotate  labels on the frame
TextStyle $TextStyle the default style for text
Ticks Automatic tick marks
• Nested lists of graphics primitives can be given. Specifications such as GrayLevel remain in effect only until the end of the list which contains them.
Graphics[Graphics3D[ ... ]] generates an ordinary 2D graphics object corresponding to 3D graphics. The same works for SurfaceGraphics, ContourGraphics and DensityGraphics.
• The standard print form for Graphics[ ... ] is -Graphics-. InputForm prints the explicit list of primitives.
• See also: Plot, ListPlot, ParametricPlot.
• Related package: Graphics`Graphics`.
• New in Version 1.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: