Qurak

Plot data

How-to 17 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.

Step 1
sdata = Table[1. Sin[2 i], {i, 0, 2 Pi, Pi / 12}]
Output
{0., 0.5, 0.8660254037844386, 1., 0.8660254037844386, 0.5, 0., -0.5, -0.8660254037844386, -1., -0.8660254037844386, -0.5, 0., 0.5, 0.8660254037844386, 1., 0.8660254037844386, 0.5, 0., -0.5, -0.8660254037844386, -1., -0.8660254037844386, -0.5, 0.}
Step 2
ListPlot[sdata]
Output
-Graphics-
Step 3
ListPlot[sdata, Filling -> Axis]
Output
-Graphics-
Step 4
ListPlot[sdata, PlotStyle -> {PointSize[Medium], Red}]
Output
-Graphics-
Step 5
ListLinePlot[sdata]
Output
-Graphics-
Step 6
cdata = Table[1. Cos[i  / 2], {i, 0, 2 Pi, Pi / 12}];

No output - this step sets something up for the next one.

Step 7
ListLinePlot[{sdata, cdata}]
Output
-Graphics-
Step 8
ListPolarPlot[cdata]
Output
-Graphics-
Step 9
data = Table[Sin[j ^ 2 + i ^ 2], {i, 0, Pi, Pi / 30}, {j, 0, Pi, Pi / 30}];

No output - this step sets something up for the next one.

Step 10
Length[data]
Output
31
Step 11
ListPlot[{data[[1]], data[[19]]}]
Output
-Graphics-
Step 12
ListLinePlot[{data[[1]], data[[19]]}]
Output
-Graphics-
Step 13
ListPointPlot3D[data]
Output
-Graphics3D-
Step 14
ListPlot3D[data]
Output
-Graphics3D-
Step 15
ListDensityPlot[data]
Output
-Graphics-
Step 16
ListContourPlot[data]
Output
-Graphics-
Step 17
Manipulate[ListPolarPlot[Table[Cos[i  / n] ^ m, {i, -k Pi, t Pi, Pi / d}], PlotStyle -> {PointSize[s], Red}, ImageSize -> {400, 400}, Axes -> None, PlotRange -> {{-1.1, 1.1}, {-1.1, 1.1}}], {{n, 0.32}, 0.1, 5, 0.01}, {m, 1, 4, 1}, {{t, 4.14}, 2, 6}, {{d, 100}, 10, 200, 10}, {{k, 4}, -1.5, 8}, {{s, 0.006}, 0.003, 0.01, 0.001}]
Output
Manipulate[ListPolarPlot[Table[Cos[i/n]^m, {i, -(k*Pi), t*Pi, Pi/d}], PlotStyle -> {PointSize[s], Red}, ImageSize -> {400, 400}, Axes -> None, PlotRange -> {{-1.1, 1.1}, {-1.1, 1.1}}], {{n, 0.32}, 0.1, 5, 0.01}, {m, 1, 4, 1}, {{t, 4.14}, 2, 6}, {{d, 100}, 10, 200, 10}, {{k, 4}, -1.5, 8}, {{s, 0.006}, 0.003, 0.01, 0.001}]

Functions used

Related recipes

All recipes · Function reference · Use this from an MCP client