Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plotting]

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

3
votes
2answers
21 views

Tooltips hidden/inactivated by SphericalPlot3D

Any way to get points obscured by SphericalPlot3D to show their Tooltip? In the below example, Tooltips will appear when cursor moves over little spheres that are not obscured by the plot, but will ...
0
votes
1answer
17 views

How to generates a plot of f as a function of x from dynamic xmin to dynamics xmax?

Good day! I want that with the following code it is possible to enter the minimum and maximum range of the variables x and y, but when running it the following error appears: Limiting value uMin in ...
1
vote
1answer
13 views

Problem with ContourPlot3D of a torus

I want to plot a torus using the equation of its surface ...
0
votes
1answer
54 views

How can I use options for a ParametricPlot3D?

Using this command I can plot three different curves using ParametricPlot3D ParametricPlot3D[{{t x, Sin[t x], 0}, {0 , Sin[t x], t x }, {t x ,Sin[t x], t x }}, {t, 0, Pi}, {x, 0, 4}] However, my ...
1
vote
1answer
14 views

Sizing a `Labeled` figure

I am trying to control the overall width of a Labeled bar chart. However, it seems whether I put ImageSize->225 as an option ...
1
vote
2answers
82 views

Plotting waves intensities as colors

I have three wavelengths. Each of them has a different colour. I want to plot the resulting wave with colour that corresponds to the mixture of these colour intensities at every point. I tried this ...
0
votes
0answers
33 views

Problems with parameters

I want to plot an ellipsoid and geodesic on it depending on a, b, c. What is wrong with my code? I mean there is problem with Manipulate, if I remove this command and parameters a, b, c, then ...
0
votes
0answers
34 views

StreamPlot giving me blank box when plotting direction field

I'm trying to plot the direction field for the equation $y'=e^{2x}+(1-2e^x)y+y^2$ but it only produces a blank box when I use StreamPlot: ...
1
vote
1answer
50 views

How to overlap ListPlot and ArrayPlot?

Is it possible to make the points appear on the ArrayPlot? It doesn't have to be ListPlot to plot the points. Following is the code: ...
5
votes
0answers
31 views

Why is SmoothKernelDistribution not symmetric in 2D?

For example, we create SmoothKernelDistribution from one data point in 2D, e.g. {0,0}. Why is the plot of ...
1
vote
1answer
20 views

Infinite expression, indeterminate expression when plotting polar conics

I am trying to plot polar conics using the PolarPlot function in Mathematica. When I plot a parabola or hyperbola, I get the following errors: ...
10
votes
2answers
1k views

Geodesics on a torus

Is it possible to draw geodesics between the points in a path on a torus - toroidal surface? geodesics: generalization of the notion of a "straight line" to "curved spaces" ...
4
votes
1answer
36 views

Plotting evolution of probability with time

I have compiled data about the evolution of a function with time and the data looks something like this. I wanted to plot this data in the form of a density histogram such that every row represents ...
0
votes
0answers
37 views

Problem encoutered when attempting to draw geodesics on a torus

I have a problem with this answer Geodesics on a torus. I mean the first variant of the answer. I'm trying to enter the points u1, u2, v1, v2, but the solution does not output anything, only the ...
2
votes
2answers
90 views

Automatically Trimming Noisy Experimental Data and Extrapolating It

I have experimental data which looks something like this I first want to remove the outlier points which are at quite high value such as around x= -10,000 etc, how to automatically trim these points....
0
votes
0answers
55 views

Please help me find what is wrong with my code [on hold]

I am not getting a plot from the following code. Please tell me how to fix it. ...
1
vote
1answer
27 views

Percentile BarChart with different EdgeForms

Is it possible to define different Edgeform's in a in a BarChart with ...
4
votes
1answer
55 views

How to switch off the Mesh on an ellipsoidal RegionPlot3D?

I want to draw 3D ellipsoids, the simplest of which is RegionPlot3D[Ellipsoid[{0, 0, 0}, IdentityMatrix[3]], Mesh -> None] How can I switch off the black mesh?...
0
votes
0answers
32 views

Solving and plotting nonlinear system of differential equations [on hold]

I cannot get the graph of the system of differential equations below, can you help please?? ...
2
votes
2answers
47 views

Problem with step response of state space model

I have a continuous state space model for dc motor. I get a wrong step response when I use continuous model and I get the right response when I discretize the model using a different method. Can ...
3
votes
1answer
62 views

Combining two plots at a common x-axis

I want to combine a Plot and a ListPlot at their common x-axis. Here's an example of what I've got so far: ...
142
votes
9answers
40k views

1 Plot, 2 Scale/Axis

I would like to plot those two datasets on top of each other. But they have very different range on the $y$ axis. How can I have two different axis? I found the following on the help menu but quite ...
1
vote
1answer
28 views

How can I set the coordinate interval in DensityPlot?

I want to plot 100 points in a density plot, but don't know how to set the interval of the x and y range. My code is: ...
0
votes
1answer
48 views

How to plot this system of equations? [on hold]

How to plot this system of equations? This do not work:
0
votes
1answer
63 views

How to make axes appear when using Show to combine plots?

The following code results in coordinate axes not showing up. I'd like to understand why that happens and how to fix it. Ideally, there's a way to do it so that I can set the image size and axis ...
0
votes
1answer
61 views

How to plot two or more equations simultaneously? [on hold]

I have this two equations, and I want to solve them in a graphical way. So, -I'm thinking- how can I plot them at the same time?
0
votes
2answers
51 views

How can I get the color 'black,grey and white' in Mathematica? [on hold]

I'm drawing a density plot,and I used the command of 'ColorFunction',but failed to get the color 'black,grey and white' as the paper.The pictures are as follows:
2
votes
1answer
33 views

ListLinePlot/ListPlot: How to center the ticks on the steps in the plot?

I am plotting xy-data using ListLinePlot with option InterpolationOrder->0 to get a step-like output. Now, the ticks are aligned to the rising part of the step (...
9
votes
2answers
377 views

Styling polar axes in PolarPlot

You can style the axes in Plot with AxesStyle. For example, the following code makes the axes red. ...
1
vote
1answer
21 views

LegendMarkerSize not recognized in ListPlot for Mathematica 10

I'm trying to put a legend on a plot done using ListPlot ...
2
votes
2answers
441 views

Two discrete colors for surface with ParametricPlot3D

I am trying to create a plot of a surface that is yellow above the xy-plane (z>0), but blue below (z<0). My first attempt was to use ...
4
votes
4answers
280 views

Piecewise ColorFunction fails

I have Mathematica 10.3, and when I run ...
8
votes
2answers
406 views

How to plot a surface from a system of equations? [duplicate]

It seems like a natural thing to do, however I can't seem to find anything on the docs nor here on SE. What I'd like to plot is the locus of solutions to a system of (polynomial) equations, e.g. $$\...
0
votes
0answers
27 views
0
votes
0answers
33 views

How to construct rectangular figures from the Fibonacci numbers and the accompanying golden spiral? [duplicate]

t's quiet different from this link How to construct rectangular figures from the Fibonacci numbers? i already get the rectangular form, but it's quite different from the picture below..it's hard for ...
0
votes
4answers
67 views

How to “cache” function values to pass to ListPlot?

I have a function which is very expensive to run. I would like to Plot the function for a certain range, but it is time prohibitive to let Plot simply compute the function for a lot of values as it ...
0
votes
0answers
28 views

RegionPlot with FindMaximum

I don't understand why each time I'm launching this computation Mathematica buggs and I get a message from Windows that the Kernel stopped working... I'm trying to get a map of where the value of ...
0
votes
0answers
57 views

Trying to plot a magnetic field of a straigth wire [closed]

I want to plot a simple vector field of a simple magnetic field of the current through a straight wire, which is given by $\qquad \overrightarrow{B}(\overrightarrow{r}) = \frac{\mu_{0}}{2\pi}\frac{I}{...
0
votes
1answer
31 views

Can we make a labelled parametric plot in which the parameter is integer?

Can we make a labelled parametric plot in which the parameters are integers? I'm just using Wolfram Alpha but could equally use Mathematica Online, and want something like here. I want to plot ...
1
vote
1answer
76 views

Replicate Matematica code in JavaScript

I don't know Mathematica at all, but I'm interesting in replicating some code to reproduce this animated gif. Mathematica code is this: ...
0
votes
0answers
25 views

Saving graphics output in a PDF file for insertion in a LaTeX document [closed]

I am trying to save the plot shown below from a Mathematica file. However, when I save the selection and put it in a LaTeX file, it appears with a red background. I need the picture to appear in the ...
2
votes
1answer
38 views

Why is plotGrid acting this way?

A couple of days ago I discovered the plotGrid function from this answer here (written by @Jens). Since it seemed interesting I tried playing around with it a bit ...
0
votes
0answers
39 views

Loglog scale plot [closed]

I am doing a numerical experiment and I need to have the plot in the Loglog scale. The data is as follows: n HAAR B2-UEP B4-UEP N2-OEP N4-OEP ...
0
votes
0answers
52 views

Plot solutions by Mathematica [closed]

How to plot two solutions x and y with axeslable x and y and with taking the time “ t” into consedration ? The solutions that I need to plot are; $ x=Eα(t^α )+ Eα(3t^α )$ , $y = -Eα(t^α ) +Eα(3t^α ...
0
votes
0answers
13 views

SystemException[“MemoryAllocationFailure”] with long evaluation involving FindRoot

I had earlier posted my code in a previous question, but I am reposting my code here: ...
0
votes
0answers
22 views

DateListPlot show point with a thin bar

I have a list of date points and I want to show each point with a single verticle line that connects the point with the x-axis. I imagine that the solution should be the same as for a ListPlot.
0
votes
1answer
45 views