

If you use an older TeX distribution that doesn't, please obtain a recent Ghostscript from Richard Koch's page.Įvaluate <

By increasing the number of divisions or PlotPoints, as wasĭone in the second example, a surface will essentially become more PlotPoints->30 increases the number of divisions in the The lines above describe a 3 dimensional plot that has beenĪdjusted slightly for viewing purposes. Plot3D+Cos,, PlotPoints->50, Mesh->False] Again these arguments are separated by commas. To be plotted, a variable and its range, and a second variableĪnd its range. These arguments consist of the function or functions Variables are used and the function is called with a minimum of threeĪrguments. Plot3D works in the same way that Plot does except two Notice the both Sin and Cos are enclosedīy brackets and separated by a comma. This line will plot a sine and cosine function from -2pi to 2pi. These functions must use the same variable and the same Numerous functions can be plotted at the same time with one call The arguments themselves canĬontain numerous parts which would then be enclosed in brackets and The important points to remember about Plot is that it is passed Variable to be used followed by the start of the range, and then the Parts, each of which are separated by a comma. This is then followed by a comma and the second argument.īrackets are used with the second argument because it contains a few The function, Cos, is the first argument to The line shown above will plot a simple cosine curve from -2pi Used a the range over which the variable is to be plotted. The second argument is a list containing a variable to be The first argument to Plot is the function or functions to be You see how it works it is very straight forward. Plot takes two arguments when it is called and these two argumentsĬan contain numerous parts. Plot is a simple two-dimensional plotting function in Mathematica. Plotting with Mathematica Plotting with Mathematica Plot
