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.

0
votes
1answer
28 views

Solving a system of PDEs on a piecewise polynomial domain

I wish to solve following system of equations with Dirchlet and Neumann boundary conditions on an piecewise polynomial (cubic spline) shaped domain as showed here. ...
1
vote
1answer
28 views

Control the size of a Legend

Given the following plot ...
3
votes
1answer
20 views

Plot and know intersection points of multiple lines/functions

so, i'd tried to plot and know the coordinates of an intersectrion of more than two lines(every intersection on the graph) is there a special way to do this ? by the way here's my code so yu can ...
0
votes
0answers
19 views

How does a satellite calculate a vector's intercept/path with Earth?

Let's say you have a satellite at altitude h, and you know the position of this satellite above earth in latitude and longitude. You detect a signal with the satellite and want to know where on the ...
1
vote
1answer
22 views

Plot3D modifies the shape of a plot

I have a little problem with the Plot3D function. Depending on how I define my variables, the shape of the plot is not exactly the same. The first way I use is for instance: Plot3D[If[Sin[xyz] > 1/2,...
3
votes
1answer
24 views

Two DistributionChart results in single plot

I have two sets of data that live on different scales, but I would like to plot them together to show the distributions of values side-by-side. Is there a way to add a second y-axis on the right that ...
12
votes
4answers
5k views

How to create an inverse pole figure color map?

To interpret electron backscatter diffraction (EBSD) results, inverse pole figures are used. A three dimensional space of directions ([100], [110] and [111] for those who know about crystallography) ...
1
vote
1answer
30 views

Problem with plotting data

I am attempting to plot a large amount of data that I have imported from a file — dimensions {400, 2}. Both ListPlot and Plot ...
1
vote
1answer
29 views

How to make a 3D plot using polar coordinates radius and angle dependence

I want to create a polar plot like this: Which can not be made with the RevolutionPlot3D comand like here, it is because my function is dependent of the radius <...
5
votes
3answers
119 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....
1
vote
2answers
80 views

Can Mathematica plot this financial simulation?

I'd like to run a simple financial simulation with something like the following constraints: You start out with $S$ dollars. Let's say $S$ is $\$1M$ dollars You repeatedly make an investment that ...
15
votes
4answers
954 views

How do I numerically evaluate and plot the Fabius function?

The Fabius function is a well-known example in analysis of a non-analytic function that is infinitely differentiable. I want to be able to numerically evaluate the function for any real argument, as ...
2
votes
1answer
39 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 ...
0
votes
0answers
32 views
1
vote
0answers
23 views

A 3D curve that originates from a face of a polyhedron

I need a hand to help me with a study i'm making. I have to unite two 3D objects: a face of a polyhedron with the points taken from PolyhedronData a 3D curve I ...
3
votes
2answers
42 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
29 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
25 views

Problem with ContourPlot3D of a torus

I want to plot a torus using the equation of its surface ...
0
votes
1answer
58 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
2answers
84 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
43 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
36 views

StreamPlot giving me blank box when plotting direction field [on hold]

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
54 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
34 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
37 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 [on hold]

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 ...
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
29 views

Percentile BarChart with different EdgeForms

Is it possible to define different Edgeform's in a in a BarChart with ...
4
votes
1answer
56 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
33 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
48 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
29 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
379 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
23 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
442 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
410 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 ...