# Search Results

Results tagged with Search options user 89
51 results

Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

RevolutionPlot3D accepts only a maximum of two variables for iteration in the form RevolutionPlot3D[f, {t, ...}, {θ, ...}]. Nevertheless, one can manipulate the third: Manipulate[RevolutionPlot3D[r^ …
answered Dec 6 '13 by István Zachar
I don't think this can be done with Mesh, as this would require non-continuous mesh lines along the horizontal dimension, which (according to my knowledge) is not possible in ArrayPlot. But you can ea …
answered Oct 14 '13 by István Zachar
You can specify InterpolationOrder -> 0 in ListPlot, and you can specify different orders for different datasets: ListPlot[{montecarlo, MapIndexed[{First@#2 + .5, #1} &, data]}, PlotMarkers -> {Sp …
answered Apr 11 '13 by István Zachar
Use ImagePadding -> {{left, right}, {bottom, top}}: BarChart[data, PlotRange -> {{0, 25}, {0, 100}}, ChartLabels -> {Placed[l, Axis], Placed[{"", ""}, Bottom]}, PlotLabel -> label, AxesLabel -> { …
answered Apr 11 '13 by István Zachar
Mathematica by default cannot always guess what humans find aesthetic. In your case, it assumes the standard aspect ratio of 1/GoldenRatio. Specifying a ratio of 1 though is not enough, as the plot ra …
answered Jun 7 '13 by István Zachar
In version 9 one can use the builtin PlotLegends option, but pre-9 it seems like the "PlotLegends`" package messes up coordinate display. In this case, fall back to create your own legend. For that, d …
answered Mar 23 '13 by István Zachar
For function plotting: f[x_] := x^2; (* define a function to plot *) df = 1/4; (* define a step size for the arrows *) g[x_] := Sin[x]; dg = Pi/16; { Plot[f[x], {x, -5, 5}, Epilog -> Table[{Red …
answered Dec 6 '13 by István Zachar
Use Solve. f1[m1_] := Sqrt Sqrt[Sqrt[1/m1^2 + 20 Sqrt (1/m1)^(3/2) Sqrt[1/50] + 3118020 Sqrt Sqrt[1/m1] (1/50)^(3/2) + 24304810001/50^2 + 623602/(m1*50)] - 10 S …
answered Jan 23 '14 by István Zachar
You could specify seed-points for streamlines directly using StreamPoints: only those stremlines will be plotted which pass through these points. Here I set up two point sets: one at $y = 1$ and anoth …
answered Mar 27 '13 by István Zachar
Use the inequality to sow all integer coordinates that are inside the boundary of the region when iterating through all integer pairs of the full range: pts = First@Last@Reap@Do[If[x >= 4 y && x <= 4 …
answered Dec 11 '12 by István Zachar
This is just a crude approximation of what you expect using Inset, but it becomes rather complicated to track subplot coordinates when Insetted in a larger Graphics environment. My method requires th …
answered Dec 18 '12 by István Zachar
While Eli's answer is elegantly simple, it has a drawback: the Prolog objects are layered on top of GridLines, thus a background rectangle covers all the gridlines. So to come over this issue, here is …
answered Apr 17 '12 by István Zachar
Why not use the mouse cursor? This version shows the zooming frame when CTRL is pressed. f[x_] := Sin[x] + 0.05 Cos[10 x]; DynamicModule[{p}, Dynamic@MouseAppearance[ Plot[f[x], {x, 0, Pi}], …
answered Nov 29 '15 by István Zachar