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

learn more… | top users | synonyms (5)

0
votes
1answer
45 views

Dashed 3D plot: dashes run together

When I use the Dashed option in my 3D parametric plot, the dashing looks very muddy and the dashes are running together. For example, I plot the below code, right ...
1
vote
1answer
61 views

Plotting solutions of systems in complex plane

I'm interested in plotting solutions of systems of polynomials in the complex plane, in the following way. Let $f_1,\ldots f_s$ be complex polynomials in variables $x_1,\ldots x_n$. I know how to ...
2
votes
2answers
106 views

Make a colored ListPlot

Basically I have a set of 3D points, such as {3,4,3} or {4,1,4}. Instead of plotting the points in a 3D space, I want to plot the x,y coordinates of the points on the 2D plane and use the z coordinate ...
0
votes
1answer
68 views

Scatter Plot of Lists

This is very similar to Make a scatter plot from two lists I have executed a = Import["file.csv"] b = Import["file2.csv"] and now have a {{1,2,3}} and b ...
0
votes
0answers
38 views
0
votes
1answer
81 views

Improve appearance of ListPointPlot3D with respect to Plot3D

I solve a PDE of which solution is physically a probability density $p$. Due to the algorithm the result is a $n\times m$-matrix which will be plotted by ...
0
votes
0answers
53 views

Plotting a 4dimensional spherical function In mathematica [duplicate]

Im trying to plot the results of the schroedinger equation for hydrogen in mathematica this is the function I defined: ...
-1
votes
1answer
38 views

Plot a function of multiple variables, with all but one are fixed

I have a function of multiple variables that I want to plot. The function is a bit complicated as this ...
1
vote
2answers
157 views

How can I project a Torus along the x-axis?

Making a Torus seems simple enough, but how do I project it along the x-axis? For example, I want to rotate this: And make it look like this: Thanks for who can help!
0
votes
0answers
69 views

Plotting multiple lines with different filling styles and gridlines?

Here's a plot of some lines with different styles of filling and one gridline displayed: ...
2
votes
3answers
169 views

Tooltip pointer in ParametricPlots

ParametricPlot[{ Cos[u]^v , u}, {v, 0, 1}, {u, 0, Pi/2 }, Mesh -> {5, 5}] ParametricPlot[Tootip[{ Cos[u]^v , u}, {v, 0, 1}], {u, 0, Pi/2 }] How to introduce ...
3
votes
1answer
98 views

ContourLabels issues

The ContourPlot generated by ...
3
votes
0answers
90 views

Behavior of TimelinePlot with multiple datasets of associations

The following TimelinePlot behaves as I would expect: ...
0
votes
0answers
46 views

How to plot three related differential equations in Mathematica?

Eq1: $ \frac{1}{3\phi}=\left[\frac{x}{x+1}\frac{d^{2}}{dx^{2}}+\frac{2x+1}{(x+1)^{2}}\frac{d}{dx}\right]{\phi^{2}} $ Eq2: $ ...
3
votes
1answer
190 views

How can i subtract a surface from another

I have one surface which i got with using analytical solution. And one by ListPlot3D. My question is how can be withdrawn from the one from the another. ...
3
votes
1answer
88 views

White Lines in Contour Plot and 3D Plot

This is a follow up question to the original question here (has a solution). I am plotting another different total potentials and for this particular case the repulsive potential is a rectangle (open ...
1
vote
3answers
117 views

Plotting Intersecting Circles On A 2-D Plane

I am new to Mathematica and I would like to plot a number of circles all onto the same graph. I would like to visually observe which circles intersect each other. One constraint on all the circles is ...
-2
votes
1answer
57 views

Plot of a R -> R^2 fuction [closed]

I have an algorithm that when you insert the parameter B, the function gives a solution {x,y}. How can I plot that? I tried ...
2
votes
0answers
68 views

StreamPlot slow in version 10

In version, 10 StreamPlot seems to calculate many more points along each streamline than necessary, compared to version 7. For example, from Mathematica ...
0
votes
1answer
128 views

How can I create a phase plane? [duplicate]

I want to make a phase plane for an equation system. I want it to look something like a Mu-Space in Stat-Mech. Basically I want it to show the same system with various different initial condition ...
4
votes
2answers
120 views

Labels strangely rendered in PDF

I'm new to Mathematica so I apologize if this is obvious to answer. Anyway, using the following code (most of it is extraneous, to make the plot look the way I want) I plotted the Morse potential, ...
0
votes
1answer
92 views

Plotting with arbitrary units

I would like to plot, say, Sin[x/a] with multiples "a" showing on the x axis as units. How can I do that ? I have tried setting the plot limits e.g. {x, -2a, 2a}. I cannot plot said function even ...
0
votes
0answers
69 views

Aligning multiple TimelinePlot's: PlotRange problem

Is there an effective method to specify PlotRange in TimelinePlot? ...
1
vote
2answers
62 views

Label point on plot with image instead of text [closed]

I can use this code to label my points with text. ...
2
votes
2answers
117 views

Filling between more than two boundaries

Here is a simple example of what I am trying to do; fill the area described by the three inequalities: $$ y \le 11 + x \label{1} \tag{1}$$ $$ y \le 27 - x \tag{2}$$ $$ y \le ...
4
votes
1answer
67 views

How to use Epilog with Tradingchart

I am making a Tradingchart with data returned from Financialdata. I find I cannot add a line to the chart by giving the option ...
1
vote
2answers
57 views

Coordinates of MeshPoints

The output of a set of differential equations solved with NDSolve produces a series of curves and I need to obtain the spacing between these curves at a given level ...
1
vote
1answer
72 views

Plot a parametric equation in cylindrical coordinates

I'm looking for a way to plot this parametric equation on cylindrical coordinates. r = e^t theta = t+1 z = e^2t Any help would be appreciated
0
votes
0answers
35 views

How can I increase plotting resolution with RegionPlot3D? [duplicate]

I am trying to plot a region with RegionPlot3D, but I have some problems. Here's the code I use: ...
-1
votes
1answer
84 views

Function for importing and plotting data from excel spreadsheet

I know this must be a very basic question, but I could not find any answers. I need to create a function that: 1) imports data from an Excel Spreadsheet, 2) assign specific information from this xlsx ...
16
votes
5answers
460 views

Plot a partition of the sphere given vertices of polygons

I saw in this question that Mathematica can draw spherical triangles. I guess something similar can be done to plot a spherical polygon. I am interested in something similar: I have a set of ...
2
votes
2answers
74 views

Why is there always a horizontal tail line on the parametric curve?

I am trying to create a smooth, piecewisely continuous and differentiable curve by using Mathematica's Floor function, which is as in: ...
0
votes
2answers
26 views

Barlegend with a different z span for ListDensityPlot

I would like to rescale the colors in a plot and to do this in the same way for the color bar. (So this enables me to have the color bar span a (z) range larger than than the data itself.) I got this ...
0
votes
0answers
39 views

Trying to plot solution curves on top of a direction field

I'm trying to do some diff. eq. homework that requires taking a general solution to a differential equation and graphing a series of possible solution curves over a direction field of the general ...
1
vote
1answer
35 views

Calculate the partial vapor pressures of a variable at xB = 0.75 based on the interpolation functions of the data

I'm having troubles in solving an exercise for an assignment in my Chemistry course. Talking about interpolations, I've already have a graph but I need to:(c) Calculate the partial vapor pressures of ...
1
vote
0answers
62 views

NDSolve Poisson PDE for rectangle with hole

When I solved the Poisson PDE with function NDSolve in a rectangular domain with hole in the center, and search the first derivative with x and y why appear these protrusions on the diagram around the ...
0
votes
0answers
34 views

Plot gives different result than direct evaluation (Plot[f[x]] obtains answer while f[x] fails)

I have a fairly complicated function that has its origin as the polarized intensity of light as derived from a so-called response function. In any case, it involves complex exponentials and other ...
2
votes
1answer
52 views

Set fontsize using setoptions not working in DateListPlot

I'm trying to use SetOptions to set the global font size for DateListPlot plots. My problem is that this is not working. Event this simple test does not change the font size: ...
2
votes
1answer
56 views

Improving a jagged Tube[ ] edge

While trying to improve this answer of mine, I found it difficult to get a smoother edge. Any ideas? ...
0
votes
0answers
67 views

Plotting FindRoot solutions against one parameter, varying another

I'm writing my question wholly anew as it has changed its form a bit and I've got some actual code attached as well. I've got a system of equations for which I find numerical solutions with FindRoot. ...
1
vote
1answer
24 views

When using PopupMenu other controls stop working

I have an interactive plot in a Manipulate expression with a PopupMenu. I want to be able to select the function being plotted ...
0
votes
2answers
46 views

How to plot a function and data at the same time?

I know that ListLinePlot allow to plot data, but I would like to compare my data with some analytic function in the same plot. Is it possible to listlineplot data and plot a function at the same time? ...
2
votes
1answer
101 views

Dual Axis Histogram

I'd like to plot two histograms on top of one another, but they have very different scales. Is it possible to plot a histogram with two y-axes, similar to the custom function found here for plots?
4
votes
2answers
169 views

ListLogLinearPlot for the whole real numbers

I have the followin data ...
1
vote
0answers
45 views

Mathpsfrag: failed setup at MathPSfragConfigurationTest (UnPSfrag) line (Windows 8)

I'm trying to follow the documentation on how to get mathpsfrag set up on Windows 8 (64-bit). It failed at the line ...
-1
votes
1answer
79 views

How can I plot a graph of an integral?

I want to plot the following function: $$\int \left(\frac{\Gamma (x+1)}{2}-\frac{\Gamma (x-1)}{2}\right) \, dx$$
5
votes
1answer
237 views

Lagrange Multiplier

We are asked to maximize and minimize $f(x,y)=4xy$, given the constraint $4x^2+y^2=8$, using the Lagrange Multiplier method. First, I enter the functions f and g. ...
0
votes
1answer
64 views

DensityPlot and KroneckerDelta

I have the following DensityPlot: DensityPlot[Sin[x] Sin[y], {x, -Pi/4, Pi/4}, {y, -Pi/4, Pi/4}, ColorFunction -> "SunsetColors", PlotLegends -> Automatic] ...
8
votes
3answers
376 views

Turning a set of random walk data 45 degrees

I have a set of data that is just a "random" (generated by me, not by computer) sequence of length 2000 of 1's and (-1)'s. I used it to plot a 1-D random walk where +1 is step up, (-1) is step down, ...