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

learn more… | top users | synonyms (4)

0
votes
2answers
56 views

Show legend on plot [duplicate]

I have a series of curve I'm plotting using ListPlot. For each plot I'm changing a variable called X. Is there anyway I could ...
0
votes
2answers
155 views

Help Please : Error in plotting the solutions of FindRoot

I want to find the roots of an equation using FindRoot as a function of a real parameter K and then plot the real and imaginary solutions vs. the parameter K. The function I'm trying to find the ...
0
votes
1answer
52 views

Count intersections of two non-polynomial functions [duplicate]

I have two Bessel functions, and I need to be able to count the number of intersections if both functions are plotted dependent upon the same variable. I can use FindRoot or FindInstance to get one ...
2
votes
1answer
38 views

Plot several columns of table with variable number of columns and display the legend accordingly

I use this command to plot all values from the 1st column of Table "results" against all values from the 2nd column: ListLinePlot[{results[[All, {1, 2}]]} Now, ...
3
votes
3answers
159 views

How to detect outlier in data of an unknown function $f(x)$

Suppose I have an unknown function $f(x)$ that is monotonic, convex and nonlinear by definition. I somehow evaluated it at 1000 nonuniform $x$ points. By ploting these data, I found a very obvious ...
0
votes
2answers
91 views

manipulating the X axis notation in mathematica graph [duplicate]

I plotted a graph in mathematica that displays the function M/1480 = (4*Pi*G*r)/(3c^2) R^3 here , ...
0
votes
2answers
47 views

How to discern the different curves?

When we plot many curves, due to repeated colors it becomes difficult to discern that which curve belongs to which equation. For instance, ...
1
vote
2answers
74 views

How to create an effective PlotLegend when plotting many ListPlots?

I'm creating a ListPlot where I plot many data sets simultaneously. Currently, my code that produces it is something like this: ...
0
votes
1answer
65 views

Plotting and Analysing derivatives of solution of differential equation [closed]

Using NDSolve I found the solution for the differential equation that governs the dynamics of a simple pendulum. How do I plot the derivatives of the solution? Also, I would like to find the ...
1
vote
2answers
99 views
1
vote
1answer
75 views

“Independent” Variables in Manipulate

I am trying to plot the solutions to the Kepler problem. I am using Manipulate. It plots the orbits, the equipotential lines and the position of the planet. When I move the time variable, only the ...
2
votes
1answer
125 views

Want a different color for each curve displayed with Show

I want a different color for each curve that I am displaying with Show. The functions are: custom1 custom2 custom3 custom4 custom5, and I am using the following ...
0
votes
1answer
79 views

Some parts of curves are being cut off by the frame in my multiple curve plot

I am trying to plot several curves and show them in the same figure, but parts of curves being cut off by the frame and not showing fully. I am using the commands ...
0
votes
0answers
50 views

Scaling ParametricPlot

How can I scale the plot obtained by ParametricPlot nicely in the following case? ...
0
votes
0answers
24 views

Calculate number of probabilities [migrated]

I want to calculate a number of probabilities of a+b+c=1 For a vary from 0 to 1 with an incrementing of 0.1 For ...
0
votes
1answer
37 views

Combining two SmoothHistogram plots without normalization of each

I'm trying to plot a density of states out of a list of energy values, and on it I want to include another over-layed plot with it that shows some fraction of that density of states at different ...
0
votes
1answer
46 views

Turning off black lines appearing in plots from the ContourPlot function [closed]

ContourPlot[Sin[6.5 x], {x, 0, 2 Pi}, {y, -1, 1}] The image turned out crappy, but basically, I do not want all the vertical black lines. I assume this is ...
3
votes
2answers
119 views

Plot a space curve and its curvature

The vector is < te^t, e^-t, Sqrt [2]t >, where -5 <= t <= 5 I have to plot the space curve and its curvature ...
1
vote
1answer
64 views

Unmapped white region in ContourPlot, PlotRange -> All does not fix the issue

When I try to create a ContourPlot of the magnitude of the following vector I get a white area that should be filled with values. Running the following code: ...
5
votes
2answers
92 views

Labelling a subset of contours using ListContourPlot

I have a data set with entries of the form [nx,ny,E] and have made a contour plot of this data. I would like to add labels to only a subset of these contours, for instance every other contour. How ...
-1
votes
0answers
60 views

Find intersections of great circles [duplicate]

I would like to plot out the intersections of great circles as dots. Here is the code to display the sphere with great circles (Original post http://mathematica.stackexchange.com/a/19350/193) ...
1
vote
1answer
42 views

Frame labels for Overlay of two plots to look like plot with two y-axes

I have a two time differential equations system: A[t] and B[t]. (I am omitting their specific form.) I would like to display the ...
2
votes
1answer
83 views

ListPlot with background image?

I need repetitive plots like this below. I invented that I refuse to use pen and I will plot the points in Mathematica, then change opacity, then change contrast and voula get the points to the graph ...
0
votes
0answers
17 views

Use intercepts to plot a plane [duplicate]

The plane is 6x -3y + 4z = 6 and I found the intercepts are: x = 1, y = -2, z = 3/2 I have to use Plot3D to plot the plane formed by these three points. How can I do that?
2
votes
2answers
77 views

Forcing Ticks on Lower Left Corner of Plot

I have a graph that looks like this: I need to have it labeled so that 14 appears in the lower left (I know it's obvious but that's what the publication I'm working with wants). That makes the ...
3
votes
2answers
226 views

Should we invest in Apple?

Ticker[comp_String] := Interpreter["Company"][comp] /. Entity[_, x_] :> x ticks = Ticker /@ {"Apple", "Google"} {"NASDAQ:AAPL", "NASDAQ:GOOGL"} ...
1
vote
2answers
67 views

ListPlot3D with small (but acceptable) precision

Consider the following minimal example: ...
5
votes
1answer
116 views

ListLinePlot of multiple series with data value and legend appearing as the cursor moves over ploted lines

I have multiple series and I am plotting using Mma's ListLinePlot function. But I am trying to implement a feature to my plot so that I can view legend and corresponding values of the series at a ...
6
votes
4answers
205 views

Question in ParametricPlot3D, how to join the minima of a {x,y} function

Thanks to my previous question I have plotted the function with the following code: ...
2
votes
1answer
76 views

How can I adjust ContourPlot in Mathematica?

I have problem because of the max point and min point, when I have too high or low data point, it just make it white. Here is example of data ...
5
votes
3answers
184 views

Plotting jump function without vertical lines

Consider this list plot: ListPlot[{{0, 0}, {1, 2}, {3, 4}, {4, 2}, {6, 0}}] I want to draw a jump function in this list plot such that for each point I get a ...
1
vote
0answers
56 views

Position ticks labels at the other side of the axes [closed]

I use ticks label both for scale (0.8, .9, 1.0, ... ) and for marking specific values of interest (with custom text). I'd like the numbers to be above the axis and the text below it. I was able to ...
0
votes
2answers
102 views

How to draw the following plot in mathematica? [duplicate]

I have a function (x^2-9)^2. I can plot it with x-range{-3,3} so that three extremum s can appear in the plot. I add another axis y ranging{0,10}. I want to plot the previous function (x^2-9)^2 at ...
4
votes
3answers
191 views

Changing the atom color for plotting xyz-files

Mathematica takes the standard color code for atoms when plotting an xyz file, but I want to customize the color for the specific atoms. I really become desperate as I did not get it so far. ...
1
vote
0answers
49 views

Displaying a matrix as an array of solid rectangular blocks [duplicate]

I would like to plot an array of numbers as a surface, with each number the height of a square, and with the squares connected to adjacent squares with vertical rectangles, up or down as appropriate. ...
2
votes
3answers
136 views

Plotting a plane using intercepts

I have a plane 2x + 5y + z = 10. I have determined that its intercepts are: x = 5, y = 2, z = 10 I need to use ...
2
votes
2answers
142 views

Speed up ContourPlot

I created the following code, but the contours are drawn slowly with the movement of the slider, could you advise me how I should optimize the code? ...
1
vote
1answer
113 views

Country density plot of lines (highways)

I love solution from question (histogram as well as distrubution) http://mathematica.stackexchange.com/questions/31948/show-density-plot-on-us-map#=. But both cases are a bit more difficult in my ...
2
votes
1answer
83 views

thicker axes in 3d plot

I am new to Mathematica, and am not able to figure out how to make the axes in a ListPlot3D plot thicker. For some reason assigning a larger value to FontSize doesn't do anything. Would appreciate any ...
0
votes
1answer
49 views

ListContourPlot3D won't plot

According to the MMA 9 help: ListContourPlot3D accepts input as {{x1,y1,z1,f1},..........} and at position ...
1
vote
1answer
53 views

Different distance in .jpg plot and .eps

I noticed that when I run my code to draw a plot: ...
4
votes
2answers
180 views

Plotting bug in Mathematica 9.0

I want to plot the transition dipole moment vectors on their respective position. For example one transition dipole moment have a position vector like R now at this ...
3
votes
1answer
213 views

Pie/doughnut chart smarter labeling

There are numerous options in Marthematica for pie chart labels positioning: ...
0
votes
0answers
54 views

Distance between ticks and axes

I draw a plot which looks like below Is any way to increase the distance between ticks and axes? I mean, from my point of view, the ticks below the x ...
1
vote
0answers
38 views

Sizing elements correctly in a DistributionChart with custom ChartElementFunction

This is a follow-up question to Histogram scale error when using DistributionChart; Weird output of DistributionChart is also related. I'd like to make a DistributionChart where the elements are ...
5
votes
2answers
100 views

PolarPlot with Dashed and PlotRange freezes for simple function

When I plot PolarPlot[1/(1+Cos[6-t]), {t,0,2\[Pi]}, PlotRange->{{-4,4},{-4,4}}, PlotStyle->Dashed] everything works normally, but when I change the ...
1
vote
1answer
56 views

Place legend without border above the plot

I use Mathematica 7.0 and as far as I know, there is not method PlotLegends, only PlotLegend. I want to set my legend - without background, shadow and frame - above my plot, as in the example belowe: ...
2
votes
1answer
113 views

Plot: How set markers in plot in front of axes

I draw a plot using ListPlot. But I noticed that PlotMarkers are 'covered' by the axes; see example below: I was trying to ...
2
votes
2answers
67 views

Parabola plotting tangential to x = const, and y= const

ContourPlot[ pm Sqrt[x - a] + pm Sqrt[y - b] == Sqrt[c], {x, 0, 2 a}, {y, 0,2 b}] plots a parabola, but only a part between points of tangency (a, 0) and (0, ...
4
votes
1answer
64 views

Thickness definition for ParametricPlot3D

How is the thickness defined in ParametricPlot3D? For 2D plots, the thickness "is given as a fraction of the horizontal plot range," but how does that work in 3D ...