MATHEMATICA COMPATIBILITY INFORMATION

Upgrading from:

Graphics`Graphics`

LogPlot, ListLogPlot, and related functions have been added to the built-in Mathematica kernel.
PolarPlot and ListPolarPlot have been added to the built-in Mathematica kernel.
GraphicsGrid has been added to the built-in Mathematica kernel.
BarChart and related functions have been added to the built-in Mathematica kernel.
PieChart has been added to the built-in Mathematica kernel.
Histogram has been added to the built-in Mathematica kernel.
ErrorListPlot is available in the newly created ErrorBar Plotting Package.

New system functions

LogPlot, LogLinearPlot, and LogLogPlot are part of the built-in Mathematica kernel:

Version 5.2 << Graphics`Graphics`;
LogPlot[Sinh[x], {x, 0, 3}]
In[9]:=
Click for copyable input
Out[9]=

LogPlot and ListLogPlot have the same functionality as and :

Version 5.2 << Graphics`Graphics`;
LinearLogListPlot[Exp[Range[0, 3, 0.2]]]
In[10]:=
Click for copyable input
Out[10]=

ListLogPlot, ListLogLinearPlot, and ListLogLogPlot have the same functionality as , , and :

Version 5.2 << Graphics`Graphics`;
LogLogListPlot[Range[10]^2]
In[12]:=
Click for copyable input
Out[12]=

PolarPlot is now part of the built-in Mathematica kernel:

Version 5.2 << Graphics`Graphics`;
PolarPlot[Sqrt[t], {t, 0, 20}]
In[2]:=
Click for copyable input
Out[2]=

ListPolarPlot has the same functionality as :

Version 5.2 << Graphics`Graphics`;
PolarListPlot[Range[0, 10, 0.2]]
In[2]:=
Click for copyable input
Out[2]=

Show can be used in place of since graphics are no longer displayed as side effects:

Version 5.2 << Graphics`Graphics`;
DisplayTogether[Plot[x, {x, 0, 1}], Plot[x^2, {x, 0, 1}]]
In[2]:=
Click for copyable input
Out[2]=

GraphicsGrid can be used in place of since graphics are no longer displayed as side effects:

Version 5.2 << Graphics`Graphics`;
DisplayTogetherArray[
 Table[DensityPlot[Sin[x + a] Cos[y + b], {x, 0, Pi}, {y, 0, Pi}], {a,
    0, 2}, {b, 0, 2}]]
In[2]:=
Click for copyable input
Out[2]=

Generate a list plot with text markers:

Version 5.2 << Graphics`Graphics`;
TextListPlot[RealDigits[N[Pi]][[1]]]
In[2]:=
Click for copyable input
Out[2]=

Generate a labeled list plot:

Version 5.2 << Graphics`Graphics`;
LabeledListPlot[RealDigits[N[Pi]][[1]]]
In[2]:=
Click for copyable input
Out[2]=

Combine a plot and a list plot:

Version 5.2 << Graphics`Graphics`;
ListAndCurvePlot[Range[10], x + Sin[x], {x, 0, 10}]
In[2]:=
Click for copyable input
Out[2]=

Display a plot with coordinates scaled by given functions:

Version 5.2 << Graphics`Graphics`;
ScaledPlot[Sin[x], {x, 0, \[Pi]}, ScaleFunction -> {Cos, ArcSin}, 
 AxesOrigin -> Automatic, PlotStyle -> Automatic]
In[2]:=
Click for copyable input
Out[2]=

Display a list plot with coordinates scaled by given functions:

Version 5.2 << Graphics`Graphics`;
ScaledListPlot[Table[Sin[x], {x, 0, \[Pi], .025 \[Pi]}], 
 ScaleFunction -> {# &, ArcSin}, AxesOrigin -> Automatic, 
 PlotStyle -> Automatic]
In[2]:=
Click for copyable input
Out[2]=

The functionality of and is now available in the built-in Mathematica kernel function GeometricTransformation:

Version 5.2 << Graphics`Graphics`;
Show[SkewGraphics[Plot[Sin[x], {x, 0, 2 Pi}], {{1, 1}, {0, 1}}]]
In[2]:=
Click for copyable input
Out[2]=

Histogram is now a built-in Mathematica function:

Version 5.2 << Graphics`Graphics`;
Histogram[{.9, .0, .2, .8, .6, .9, .6, .9, .6, .3}]
In[2]:=
Click for copyable input
Out[2]=

BarChart is now a built-in Mathematica function:

Version 5.2 << Graphics`Graphics`;
BarChart[Range[3]]
In[2]:=
Click for copyable input
Out[2]=

The functionality of is now available in BarChart:

Version 5.2 << Graphics`Graphics`;
PercentileBarChart[{1, -3, 4, 5, 2, 3}, {3, 6, 4, 3}]
In[4]:=
Click for copyable input
Out[4]=

The functionality of is now available using ChartLayout in BarChart:

Version 5.2 << Graphics`Graphics`;
StackedBarChart[{1, -3, 4, 5, 2, 3}, {3, 6, 4, 3}]
In[6]:=
Click for copyable input
Out[6]=

can be replaced by the following definition:

Version 5.2 << Graphics`Graphics`;
GeneralizedBarChart[{{1, 3, .2}, {4, 9, 1}, {2.1, -6, .5}}, {{3, 
   5, .5}, {1.5, -2, 1}, {-.4, 2, .5}}, BarOrientation -> Horizontal]
In[8]:=
Click for copyable input
Out[8]=

PieChart is now a built-in Mathematica function:

Version 5.2 << Graphics`Graphics`;
PieChart[Range[4]]
In[2]:=
Click for copyable input
Out[2]=
ErrorBar Plotting Package

from is now found in the ErrorBar Plotting Package.

Version 5.2 << Graphics`Graphics`
ErrorListPlot[{{1, 0.2}, {2, 0.3}, {1.5, 0.1}, {0.8, 0.25}}]

Load to use ErrorListPlot functionality:

In[2]:=
Click for copyable input
Out[3]=

The original package is now available on the web at library.wolfram.com/infocenter/MathSource/6808.

New to Mathematica? Find your learning path »
Have a question? Ask support »