(************** Content-type: application/mathematica ************** Mathematica-Compatible Notebook This notebook can be used with any Mathematica-compatible application, such as Mathematica, MathReader or Publicon. The data for the notebook starts with the line containing 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[ 8767, 346]*) (*NotebookOutlinePosition[ 9626, 377]*) (* CellTagsIndexPosition[ 9582, 373]*) (*WindowFrame->Normal*) Notebook[{ Cell["Ver\[ADoubleDot]nderungen von Graphiken in Form und Farbe", "Subsection", ImageRegion->{{0, 1}, {0, 1}}], Cell[CellGroupData[{Cell["Copyright ", "Text", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ Copyright 1994, Claudia Funke TU-Berlin, FB 13, Fachgebiet \[CapitalODoubleDot]konometrie und Statistik Dieses Notebook darf ausschlie\[SZ]lich als Unterrichtsmaterial und f\ \[UDoubleDot]r private Zwecke verwendet und nicht ohne Zustimmung der Autorin \ ver\[ADoubleDot]ndert werden. \ \>", "Text", ImageRegion->{{0, 1}, {0, 1}}]}, Open]], Cell["\<\ Einige h\[ADoubleDot]ufig ben\[ODoubleDot]tigte \[CapitalADoubleDot]nderungen \ und die zugeh\[ODoubleDot]rigen - Optionen - sind: \ \>", "Text", ImageRegion->{{0, 1}, {0, 1}}], Cell[CellGroupData[{Cell["\[CapitalADoubleDot]ndern des Koordinatenursprungs", "Subsubsection", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ AxesOrigin -> {x - Achse, y - Achse}\ \>", "Special1", TextAlignment->Center, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ Plot[Sin[x], {x, 0, 2 Pi}, AxesOrigin -> {Pi, -1}] \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}]}, Open]], Cell[CellGroupData[{Cell["Ver\[ADoubleDot]nderung des Plotbereichs", "Subsubsection", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ PlotRange -> {{xmin, xmax}, {ymin, ymax}} \ \>", "Special1", TextAlignment->Center, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ Plot[Sin[x], {x, 0, 2 Pi}, PlotRange -> {{0, Pi}, {-1, 1}}] \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}]}, Open]], Cell[CellGroupData[{Cell["Ver\[ADoubleDot]nderung der Linienst\[ADoubleDot]rke", "Subsubsection", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ PlotStyle -> {Linienst\[ADoubleDot]rke[r]}\ \>", "Special1", TextAlignment->Center, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ Plot[Sin[x], {x, 0, 2 Pi}, PlotStyle -> Thickness[0.1] ] \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}]}, Open]], Cell[CellGroupData[{Cell["Ver\[ADoubleDot]nderung der Punktst\[ADoubleDot]rke beim Plotten von \ Daten", "Subsubsection", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ PlotStyle -> {Punktgr\[ODoubleDot]\[SZ]eAbsolut[r]}\ \>", "Special1", TextAlignment->Center, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ ListPlot[Table[Exp[x], {x, 1, 5}], PlotStyle -> AbsolutePointSize[8] ] \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}]}, Open]], Cell[CellGroupData[{Cell["Ver\[ADoubleDot]nderung der Linienfarbe", "Subsubsection", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ PlotStyle -> RGBColor[r,g,b]\ \>", "Special1", TextAlignment->Center, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ Plot[Sin[x], {x, 0, 2 Pi}, PlotStyle -> {{RGBColor[1.000,0.000,0.000], Thickness[0.1]}} ] \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}]}, Open]], Cell[CellGroupData[{Cell["Keine Farbe bei einer dreidimensionalen Graphik", "Subsubsection", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ Shading -> False\ \>", "Special1", TextAlignment->Center, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ plot4 = Plot3D[ Exp[ -Sqrt[x^2 + y^2]], {x, -2, 2}, {y, -2, 2}, PlotPoints -> 30 ] \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}], Cell["Show[%, Shading -> False] ", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}], Cell["Ver\[ADoubleDot]nderung der Einf\[ADoubleDot]rbung einer \ dreidimensionalen Graphik", "Subsubsection", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}], Cell["Lighting -> ", "Special1", TextAlignment->Center, ImageRegion->{{0, 1}, {0, 1}}], Cell["AmbientLight -> ", "Special1", TextAlignment->Center, ImageRegion->{{0, 1}, {0, 1}}], Cell["LightSources -> ", "Special1", TextAlignment->Center, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ Die M\[ODoubleDot]glichkeiten zur farblichen Gestaltung unter Verwendung unterschiedlicher Beleuchtungsquellen sind in Mathematica sehr vielf\[ADoubleDot]ltig und seien daher nur an einem kleinen Beispiel erl\ \[ADoubleDot]utert:\ \>", "Text", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ Plot3D[Exp[-x^2 -y^2], {x, -2, 2}, {y, -2, 2}, PlotPoints -> 30, Lighting -> True, AmbientLight -> GrayLevel[0.], LightSources -> {{{4, 0, 1}, RGBColor[0.893, 1, .34]}, {{-4, 0, 1}, RGBColor[1, 0, 1]}}, Axes -> None, Boxed -> False, PlotRange -> {0.2, 0.6}, ClipFill -> {GrayLevel[.6], GrayLevel[0]}] \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}]}, Open]], Cell[CellGroupData[{Cell["Erweiterung der Graphikfunktionen durch Packages", "Subsection", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ In zahlreichen Packages gibt es Erweiterungen zu den Graphik- funktionen. Als Beispiel sei hier die Funktion PolarPlot[] aus dem Package Graphics`Graphics` genannt. \ \>", "Text", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ <", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ ?PolarPlot \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ t = 1; \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ r[phi_] := 0.25 (phi + t) \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ PolarPlot[r[phi], {phi, 0.1, 540}, Axes -> False] \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}]}, Open]], Cell[CellGroupData[{Cell["Animation", "Subsection", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ In Mathematica kann man \"\[UDoubleDot]bereinandergelegte\" Graphiken so \ schnell hintereinander darstellen, da\[SZ] der Anschein bewegter Bilder ensteht. \ Unter einem Front-End erfolgt die Animation men\[UDoubleDot]gesteuert, w\ \[ADoubleDot]hrend f\[UDoubleDot]r die Animation unter einem text-based Interface im Package Graphics`Animation` entsprechende Funktionen zur Verf\[UDoubleDot]gung \ stehen. \ \>", "Text", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ Ein Beispiel f\[UDoubleDot]r eine Animation sei die obige Funktion r[phi], bei der t variiert wird. \ \>", "Text", ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ Table[ PolarPlot[r[phi], {phi, 0.1, 540}, Axes -> False], {t, 1, 1000, 100}] \ \>", "Input", PageWidth->Infinity, ImageRegion->{{0, 1}, {0, 1}}], Cell["\<\ Die Animation unter dem Front End f\[UDoubleDot]r Windows 3.1 erfolgt in \ folgenden Schritten: 1. Markiere alle Outputzellen, die animiert werden sollen. 2. Fasse diese Zellen zu einer Gruppe mit der Men\[UDoubleDot]option Cell - Group Cells zusammen. 3. Men\[UDoubleDot]option Graph - Animate Selected Graphics --> es erscheint rechts unten auf der Bildlaufleiste ein kleines Men\ \[UDoubleDot] mit Schaltfl\[ADoubleDot]chen. Damit kann die Reihenfolge (Richtung) und \ Geschwindig- keit der Animation gesteuert werden.\ \>", "Text", ImageRegion->{{0, 1}, {0, 1}}]}, Open]] }, FrontEndVersion->"4.1 for Microsoft Windows", ScreenRectangle->{{0, 1024}, {0, 695}}, WindowToolbars->{}, CellGrouping->Manual, WindowSize->{499, 599}, WindowMargins->{{Automatic, 58}, {Automatic, 0}}, PrivateNotebookOptions->{"ColorPalette"->{RGBColor, -1}}, ShowCellLabel->True, ShowCellTags->False, RenderingOptions->{"ObjectDithering"->True, "RasterDithering"->False} ] (******************************************************************* 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[1707, 52, 112, 1, 70, "Subsection"], Cell[CellGroupData[{ Cell[1842, 55, 59, 1, 70, "Text"], Cell[1904, 58, 343, 8, 70, "Text"] }, Closed]], Cell[2259, 68, 189, 6, 70, "Text"], Cell[CellGroupData[{ Cell[2471, 76, 108, 1, 70, "Subsubsection"], Cell[2582, 79, 123, 5, 70, "Special1"], Cell[2708, 86, 134, 6, 70, "Input"] }, Closed]], Cell[CellGroupData[{ Cell[2874, 94, 98, 1, 70, "Subsubsection"], Cell[2975, 97, 129, 5, 70, "Special1"], Cell[3107, 104, 143, 7, 70, "Input"] }, Closed]], Cell[CellGroupData[{ Cell[3282, 113, 110, 1, 70, "Subsubsection"], Cell[3395, 116, 129, 5, 70, "Special1"], Cell[3527, 123, 145, 8, 70, "Input"] }, Closed]], Cell[CellGroupData[{ Cell[3704, 133, 134, 2, 70, "Subsubsection"], Cell[3841, 137, 138, 5, 70, "Special1"], Cell[3982, 144, 159, 8, 70, "Input"] }, Closed]], Cell[CellGroupData[{ Cell[4173, 154, 97, 1, 70, "Subsubsection"], Cell[4273, 157, 115, 5, 70, "Special1"], Cell[4391, 164, 192, 9, 70, "Input"] }, Closed]], Cell[CellGroupData[{ Cell[4615, 175, 105, 1, 70, "Subsubsection"], Cell[4723, 178, 103, 5, 70, "Special1"], Cell[4829, 185, 171, 10, 70, "Input"], Cell[5003, 197, 99, 2, 70, "Input"], Cell[5105, 201, 142, 2, 70, "Subsubsection"], Cell[5250, 205, 82, 5, 70, "Input"], Cell[5335, 212, 90, 2, 70, "Special1"], Cell[5428, 216, 94, 2, 70, "Special1"], Cell[5525, 220, 94, 2, 70, "Special1"], Cell[5622, 224, 289, 7, 70, "Text"], Cell[5914, 233, 431, 16, 70, "Input"] }, Closed]], Cell[CellGroupData[{ Cell[6377, 251, 103, 1, 70, "Subsection"], Cell[6483, 254, 228, 6, 70, "Text"], Cell[6714, 262, 104, 5, 70, "Input"], Cell[6821, 269, 94, 5, 70, "Input"], Cell[6918, 276, 89, 5, 70, "Input"], Cell[7010, 283, 109, 5, 70, "Input"], Cell[7122, 290, 134, 5, 70, "Input"] }, Closed]], Cell[CellGroupData[{ Cell[7288, 297, 64, 1, 70, "Subsection"], Cell[7355, 300, 465, 11, 70, "Text"], Cell[7823, 313, 159, 5, 70, "Text"], Cell[7985, 320, 172, 9, 70, "Input"], Cell[8160, 331, 595, 14, 70, "Text"] }, Closed]] } ] *) (******************************************************************* End of Mathematica Notebook file. *******************************************************************)