Mathematica: Difference between revisions
iwu |
added description |
||
Line 1: | Line 1: | ||
== Plotting == | |||
Tick marks and GridLines | |||
<source lang="nb"> | <source lang="nb"> | ||
Plot[3 Sin[x], {x, -2 Pi, 2 Pi},Ticks -> {{-2 Pi, -3 Pi/2, -Pi, -Pi/2, Pi, Pi/2, 3 Pi/2, 2 Pi},Automatic},GridLines -> {{-2 Pi, -3 Pi/2, -Pi, -Pi/2, Pi, Pi/2, 3 Pi/2, 2 Pi}, Automatic}] | Plot[3 Sin[x], {x, -2 Pi, 2 Pi}, | ||
Ticks -> {{-2 Pi, -3 Pi/2, -Pi, -Pi/2, Pi, Pi/2, 3 Pi/2, 2 Pi}, | |||
Automatic}, | |||
GridLines -> {{-2 Pi, -3 Pi/2, -Pi, -Pi/2, Pi, Pi/2, 3 Pi/2, 2 Pi}, | |||
Automatic}] | |||
</source> | </source> | ||
:[[File:ClipCapIt-170919-190259.PNG]] | :[[File:ClipCapIt-170919-190259.PNG]] |