(*********************************************************************** Mathematica-Compatible Notebook This notebook can be used on any computer system with Mathematica 3.0, MathReader 3.0, or any compatible application. The data for the notebook starts with the line of stars above. To get the notebook into a Mathematica-compatible application, do one of the following: * Save the data starting with the line of stars above into a file with a name ending in .nb, then open the file inside the application; * Copy the data starting with the line of stars above to the clipboard, then use the Paste menu command inside the application. Data for notebooks contains only printable 7-bit ASCII and can be sent directly in email or through ftp in text mode. Newlines can be CR, LF or CRLF (Unix, Macintosh or MS-DOS style). NOTE: If you modify the data for this notebook not in a Mathematica- compatible application, you must delete the line below containing the word CacheID, otherwise Mathematica-compatible applications may try to use invalid cache data. For more information on notebooks and Mathematica-compatible applications, contact Wolfram Research: web: http://www.wolfram.com email: info@wolfram.com phone: +1-217-398-0700 (U.S.) Notebook reader applications are available free of charge from Wolfram Research. ***********************************************************************) (*CacheID: 232*) (*NotebookFileLineBreakTest NotebookFileLineBreakTest*) (*NotebookOptionsPosition[ 5922, 221]*) (*NotebookOutlinePosition[ 6798, 249]*) (* CellTagsIndexPosition[ 6754, 245]*) (*WindowFrame->Normal*) Notebook[{ Cell[CellGroupData[{ Cell["Mathematica Graphics - 2", "Title"], Cell["\<\ Bernd Thaller Institute of Mathematics University of Graz Austria 03-24-1999\ \>", "Subsubtitle"], Cell[CellGroupData[{ Cell["Literatur:", "Subsection"], Cell[TextData[{ "Tom Wickham-Jones: Mathematica Graphics - Techniques, Applications. TELOS, \ Springer Verlag 1994\n\n", StyleBox["Stephen", "SR"], " ", StyleBox[ "Wolfram: The Mathematica book\[NonBreakingSpace]\[LongDash]\ \[NonBreakingSpace]4th ed. Wolfram Research, 1999\n", "SR"] }], "Text"] }, Closed]], Cell[CellGroupData[{ Cell["ContourPlot and DensityPlot", "Section"], Cell["\<\ These commands are used for plotting functions f[x,y] of two \ variables. ContourPlot shows the level sets of the function f, i.e., the \ solutions x, y of the equation f[x,y]=c for certain values of c. For \ functions which vary rapidly, DensityPlot with high resolution is more \ appropriate.\ \>", "Text"], Cell[CellGroupData[{ Cell[BoxData[ \(ContourPlot[ x\^2 + 2\ y\^2, {x, \(-\[Pi]\), \[Pi]}, {y, \(-\[Pi]\), \[Pi]}]\)], "Input", CellLabel->"In[116]:="], Cell[BoxData[ TagBox[\(\[SkeletonIndicator] ContourGraphics \[SkeletonIndicator]\), False, Editable->False]], "Output", CellLabel->"Out[116]="] }, Open ]], Cell[CellGroupData[{ Cell[BoxData[ \(DensityPlot[ Tan[Cos[x]\/Sin[y]], {x, \(-\[Pi]\), \[Pi]}, {y, \(-1\), 1}, PlotPoints \[Rule] 150, Mesh \[Rule] False]\)], "Input", CellLabel->"In[84]:="], Cell[BoxData[ TagBox[\(\[SkeletonIndicator] DensityGraphics \[SkeletonIndicator]\), False, Editable->False]], "Output", CellLabel->"Out[84]="] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["Plot3D", "Section"], Cell["\<\ Plot3D generates a three-dimensional surface graphics of a function \ f[x,y] of two variables.\ \>", "Text"], Cell[CellGroupData[{ Cell[BoxData[ \(gr3d\ = \ Plot3D[Sin[x\ Cos[y]], {x, \(-\[Pi]\), \[Pi]}, {y, \(-\[Pi]\), \[Pi]}, PlotPoints \[Rule] 30]\)], "Input", CellLabel->"In[120]:="], Cell[BoxData[ TagBox[\(\[SkeletonIndicator] SurfaceGraphics \[SkeletonIndicator]\), False, Editable->False]], "Output", CellLabel->"Out[120]="] }, Open ]], Cell[TextData[ "Note that the graphics objects returned by these plotting commands are \ called\n\[SkeletonIndicator]ContourGraphics\[SkeletonIndicator], \ \[SkeletonIndicator]DensityGraphics\[SkeletonIndicator], and \ \[SkeletonIndicator]SurfaceGraphics\[SkeletonIndicator]\nThey all refer to \ plots of functions of two variables, and can be converted into each other:\n\ "], "Text"], Cell[CellGroupData[{ Cell["Show[ContourGraphics[gr3d]]", "Input", CellLabel->"In[121]:=", FormatType->InputForm], Cell[BoxData[ TagBox[\(\[SkeletonIndicator] ContourGraphics \[SkeletonIndicator]\), False, Editable->False]], "Output", CellLabel->"Out[121]="] }, Open ]], Cell[CellGroupData[{ Cell["\<\ dgr = DensityPlot[Abs[Sin[x+ I y]], \ {x,-Pi,Pi},{y,-1,1.5},PlotPoints->30]\ \>", "Input", CellLabel->"In[130]:=", FormatType->InputForm], Cell[BoxData[ TagBox[\(\[SkeletonIndicator] DensityGraphics \[SkeletonIndicator]\), False, Editable->False]], "Output", CellLabel->"Out[130]="] }, Open ]], Cell[CellGroupData[{ Cell["Show[SurfaceGraphics[dgr]]", "Input", CellLabel->"In[131]:=", FormatType->InputForm], Cell[BoxData[ TagBox[\(\[SkeletonIndicator] SurfaceGraphics \[SkeletonIndicator]\), False, Editable->False]], "Output", CellLabel->"Out[131]="] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell["ColorFunction", "Section"], Cell[CellGroupData[{ Cell["\<\ DensityPlot[Sin[x^2 + y^2],{x,-Pi,Pi},{y,-Pi,Pi}, PlotPoints->50, \ Mesh->False,ColorFunction->(Hue[#,#,#]&)]\ \>", "Input", CellLabel->"In[35]:="], Cell[BoxData[ TagBox[\(\[SkeletonIndicator] DensityGraphics \[SkeletonIndicator]\), False, Editable->False]], "Output", CellLabel->"Out[35]="] }, Open ]], Cell["\<\ Note that the values of the function to be plotted are scaled to \ the interval [0,1] before they are passed as arguments to the \ colorfunction.\ \>", "Text"] }, Open ]] }, Open ]] }, FrontEndVersion->"Macintosh 3.0", ScreenRectangle->{{0, 1024}, {0, 748}}, WindowSize->{520, 653}, WindowMargins->{{32, Automatic}, {-3, Automatic}}, StyleDefinitions -> "Textbook.nb", MacintoshSystemPageSetup->"\<\ 00<0001804P000000]P2:?oQon82n@960dL5:0?l0080001804P000000]P2:001 0000I00000400`<300000BL?00400@0000000000000006P801T1T00000000000 00000000000000000000000000000000\>" ] (*********************************************************************** Cached data follows. If you edit this Notebook file directly, not using Mathematica, you must remove the line containing CacheID at the top of the file. The cache data will then be recreated when you save this file from within Mathematica. ***********************************************************************) (*CellTagsOutline CellTagsIndex->{} *) (*CellTagsIndex CellTagsIndex->{} *) (*NotebookFileOutline Notebook[{ Cell[CellGroupData[{ Cell[1731, 51, 41, 0, 54, "Title"], Cell[1775, 53, 107, 6, 104, "Subsubtitle"], Cell[CellGroupData[{ Cell[1907, 63, 32, 0, 37, "Subsection"], Cell[1942, 65, 306, 8, 102, "Text"] }, Closed]], Cell[CellGroupData[{ Cell[2285, 78, 46, 0, 53, "Section"], Cell[2334, 80, 318, 6, 50, "Text"], Cell[CellGroupData[{ Cell[2677, 90, 144, 4, 31, "Input"], Cell[2824, 96, 163, 4, 21, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[3024, 105, 188, 4, 64, "Input"], Cell[3215, 111, 162, 4, 21, "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[3426, 121, 25, 0, 85, "Section"], Cell[3454, 123, 118, 3, 22, "Text"], Cell[CellGroupData[{ Cell[3597, 130, 179, 4, 43, "Input"], Cell[3779, 136, 163, 4, 21, "Output"] }, Open ]], Cell[3957, 143, 386, 6, 88, "Text"], Cell[CellGroupData[{ Cell[4368, 153, 95, 2, 27, "Input"], Cell[4466, 157, 163, 4, 21, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[4666, 166, 151, 5, 42, "Input"], Cell[4820, 173, 163, 4, 21, "Output"] }, Open ]], Cell[CellGroupData[{ Cell[5020, 182, 94, 2, 27, "Input"], Cell[5117, 186, 163, 4, 21, "Output"] }, Open ]] }, Open ]], Cell[CellGroupData[{ Cell[5329, 196, 32, 0, 85, "Section"], Cell[CellGroupData[{ Cell[5386, 200, 159, 4, 63, "Input"], Cell[5548, 206, 162, 4, 21, "Output"] }, Open ]], Cell[5725, 213, 169, 4, 36, "Text"] }, Open ]] }, Open ]] } ] *) (*********************************************************************** End of Mathematica Notebook file. ***********************************************************************)