Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)


makes a log-linear plot of the , assumed to correspond to x coordinates 1, 2, .

makes a log-linear plot of the specified list of x and y values.

plots several lists of values.

plots with features defined by the symbolic wrapper w.

Details and OptionsDetails and Options

  • Data values and can be given in the following forms:
  • xia real-valued number
    Quantity[xi,unit]a quantity with a unit
  • Values and that are not of the preceding form are taken to be missing and are not shown.
  • The have the following forms and interpretations:
  • <|"k1"y1,"k2"y2,|>values
    <|x1y1,x2y2,|>key-value pairs
    SparseArrayvalues as a normal array
    TimeSeries, EventSeriestime-value pairs
    WeightedDataunweighted values
  • The following wrappers w can be used for the :
  • Annotation[datai,label]provide an annotation for the data
    Button[datai,action]define an action to execute when the data is clicked
    EventHandler[datai,]define a general event handler for the data
    Hyperlink[datai,uri]make the data a hyperlink
    Labeled[datai,label]label the data
    Labeled[datai,label,pos]place the label around the data
    Legended[datai,label]identify the data in a legend
    PopupWindow[datai,cont]attach a popup window to the data
    StatusArea[datai,label]display in the status area on mouseover
    Style[datai,styles]show the data using the specified styles
    Tooltip[datai,label]attach a tooltip to the data
    Tooltip[datai]use data values as tooltips
  • Wrappers w can be applied at multiple levels:
  • {,w[yi],}wrap the value in data
    {,w[{xi,yi}],}wrap the point
    w[datai]wrap the data
    w[{data1,}]wrap a collection of
    w1[w2[]]use nested wrappers
  • In ListLogLinearPlot, Labeled and Placed allow the following positions:
  • Automaticautomatically placed labels
    Above, Below, Before, Afterpositions around the data
    xnear the data at a position x
    Scaled[s]scaled position s along the data
    {s,Above},{s,Below},relative position at position s along the data
    {pos,epos}epos in label placed at relative position pos of the data
  • ListLogLinearPlot has the same options as Graphics, with the following additions and changes:
  • AspectRatio1/GoldenRatioratio of height to width
    AxesTruewhether to draw axes
    DataRangeAutomaticthe range of x values to assume for data
    FillingNonehow to fill in stems for each point
    FillingStyleAutomaticstyle to use for filling
    JoinedFalsewhether to join points
    PerformanceGoal$PerformanceGoalaspects of performance to try to optimize
    PlotLabelNoneoverall label for the plot
    PlotLabelsNonelabels for data
    PlotLegendsNonelegends for data
    PlotMarkersNonemarkers to use to indicate each point
    PlotRangeAutomaticrange of values to include
    PlotRangeClippingTruewhether to clip at the plot range
    PlotStyleAutomaticgraphics directives to determine styles of points
    PlotTheme$PlotThemeoverall theme for the plot
    TargetUnitsAutomaticunits to display in the plot
  • DataRange determines how values are interpreted into . Possible settings include:
  • Automatic,Alluniform from to n
    {xmin,xmax}uniform from to
  • In general, a list of pairs is interpreted as a list of points, but the setting DataRangeAll forces it to be interpreted as multiple .
  • Typical settings for PlotLegends include:
  • Noneno legend
    Automaticautomatically determine legend
    {lbl1,lbl2,}use , , as legend labels
    Placed[lspec,]specify placement for legend

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Make a plot with a logarithmic scale:

Click for copyable input

Join the points with a line:

Click for copyable input

Show multiple sets of data with a legend:

Click for copyable input

Label each curve:

Click for copyable input
Click for copyable input

Generate filled plots:

Click for copyable input
Click for copyable input
Introduced in 2007
| Updated in 2016