Mathematica: Difference between revisions
iwu |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<source lang=" | == Plotting == | ||
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}] | |||
Tick marks and GridLines | |||
<source lang="mma"> | |||
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]] |