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

learn more… | top users | synonyms (12)

3
votes
1answer
58 views

Plotting over the unit interval $[0,1]$ [closed]

Related to the question : Neumann and Dirichlet eigenvalue problem - Eigenfunctions on the square I'd like to do the same thing on the line instead of the rectangle, i.e. with $\sin(k\,π\,x)$ and $\...
0
votes
2answers
86 views

Plot graph with complex number

I need some help from expert. I already read about the plot with Identity, I but I not really understand and I think my problem is different and I confuse to used what command of plot. Here the ...
2
votes
1answer
106 views

Show and lighting options do not work together

I am trying the example from this demonstration, but it is not working properly. ...
0
votes
1answer
57 views

How to plot a level set of a function $f(x,y)$ on Plot3D?

Suppose I have used Plot3D command to plot some surface $f(x,y)$. On this plot, I would like to clearly identify some level set of $f(x,y)$, let's say $f(x,y)=0$, and if possible, find the relevant ...
0
votes
2answers
63 views

Combination of two ParametricPlot in one plot?

I have two ParametricPlot in the following form: ParametricPlot[{1 + (3*t^2)/2 - t^4/24, 4*t - t^3/3}, {t, 0, 1}] and ...
2
votes
1answer
65 views

How to properly plot with DensityPlot the singularities in a non-trivial phase profile of a function?

Consider as an example the following function: ...
8
votes
1answer
54 views

Is there a way to change the interpolation scheme used in ListDensityPlot?

Recently I was trying to answer this question on how to make a smooth ListDensityPlot when I found that the output depends on the order of the data if you are using ...
2
votes
4answers
410 views

Plotting 3D points with an intensity

I have a list of elements where the first 3 numbers in each curly bracket are x,y,z coordinates and the last number is an intensity: ...
0
votes
3answers
97 views

ListPlot and Filling: overlapped vertical lines [closed]

I was plotting multiple discrete series on the same figure. Filling is needed to highlight trajectory of the series. However, if I use Filling->All, filling lines are overlapped. One of the solution ...
2
votes
1answer
141 views

Particle moving on curve which is the intersection of a surface and a plane

Surface z = 2 x^3 - 5 y^4 Plane z = x + y + 5 Plot A curve is formed by the intersection of the surface and the plane. ...
7
votes
3answers
186 views

Plotting Vertical Asymptotes [duplicate]

The following code produces the graph of $f(x)=\frac{1}{x-1}$ correctly. ...
0
votes
0answers
63 views

How to plot an interpolating function from data showing the median values and the scatter around the medians

I have a list of data points $x_{i}$, $y_{i,16}$, $y_{i,50}$, and $y_{i,84}$ where $y_{i}$ respectively correspond to $16th$, $50th$ and $84th$ percentiles value of the function at positions $x_{i}$. ...
1
vote
1answer
75 views

ArrayPlot3D : want to represent the values in the heights of rectangular blocks

I would like to achieve something like ArrayPlot[] but rather than using the array values for color, I want those values to specify heights of rectangular blocks. There seems to be no option in ...
2
votes
1answer
82 views

Contours all getting labeled as zero in my contour plot

As you can see from the plot below, my contour plot renders several contour lines. The legend shows the how values change with colors. However, all the contour lines on the plot are labeled 0, which ...
1
vote
2answers
88 views
3
votes
2answers
102 views

Hovering over specific coordinates on a picture

I'm working on a small function which can be used so that when the user hovers over certain coordinates in a LocatorPane, these coordinates can be checked against a separate list of coordinates, and ...
-1
votes
3answers
102 views

How to make a 3D plot over a triangular region

I'm new to mathematica. I'm trying to Plot3D the function f[x_,y_]:=x^3+2x y over the triangular region of the plane with ...
0
votes
0answers
31 views

ListPlot: zoom on scroll, pan on drag [duplicate]

How is it possible to create interactive ListPlot with the following behaviour: pan on drag, zoom in/out on mouse scroll, with the zooming centered at the cursor ...
0
votes
1answer
64 views

Adjusting VoronoiMesh size

How it is possible to extend VoronoiMesh to the whole ListPlot in the following example? ...
2
votes
1answer
87 views

Working with StarData Versus AstronomicalData

Using AstronomicalData I could easily do something like: ...
4
votes
1answer
99 views

How to specify a mesh in plotting options [closed]

I have a very simple question: Imagine I have solved a PDE on a mesh and want to display the solution on the same element mesh that was passed to NDSolve. I have ...
6
votes
1answer
152 views

Smoothing out data points in a ListDensityPlot

I stumbled upon this problem when I was trying to make some nice smooth ListDensityPlots of my numerical data. In short, my problem is that I let Mathematica plot two copies of basically the exact ...
2
votes
3answers
146 views

Combine three functions in one graph using Plot3D and show

I have a function, f, which is divided in three functions depending on the ranges of some variables (a and r) and constants (<...
2
votes
1answer
196 views

How to graph a 3D function of two variables? [closed]

How to graph this: \begin{alignat*}{3} x(s, t) &= a\cos(mt) \cos^{k}(ns) &&\cos(t) &&\cos(s), \\ y(s, t) &= a\cos(mt) \cos^{k}(ns) &&\sin(t) &&\cos(s), \\ z(s, ...
3
votes
4answers
159 views

Filling between two listplots

I have two lists which are plotted by below simple command ...
4
votes
2answers
148 views

Adding labels to close points in a ListPlot [duplicate]

I need to add labels to points in a ListPlot. The only problem is that the points can be closely located so if I do it in my usual way it becomes messy. I would ...
0
votes
1answer
119 views

Plotting Limit Cycle

I have Lotka Volterra Equations where the prey equation is modified. The Equations are x'[t]=a*x[t]*(1-x[t]/k)-b*x[t]*y[t] y'[t]=-c*y[t]+d*x[t]*y[t] To plot the ...
3
votes
2answers
107 views

How to Draw a 3D Scatter Plot Graph

Firstly: I am completely new to Mathematica, but I need to be able to create a 3D Scatter Graph with the following points: {0.000824, 15.8, 39.0}, {0.000507, 20.5, 39.6}, {0.000444, 20.5, 39.8}, {...
2
votes
1answer
62 views

Need help with making an interactive 3D plot

My main problem is to generate a manipulatable 3D plot, combining three functions and two of those functions depend on another variable Theta (which shall be the manipulateable variable). To explain ...
0
votes
0answers
51 views

Exporting model as STL file yields unexpected results

I have generated Costa's minimal surface using ParametricPlot3D but when I export it as an stl file (ultimately for 3D printing) it is just a few long thin strips. ...
1
vote
1answer
45 views

PolarPlot with InterpolatingFunction not working?

So I have solved a PDE with NDSolve which returns h -> InterpolatingFunction. I can happily plot the results with ...
1
vote
0answers
56 views

Mathematica freezes everytime I try to rotate 3D stuff [closed]

So I created a simple Plot3D: Plot3D[Sin[x]Cos[y], {x, 0, 5}, {y, 1, 10}] When I try to rotate the plot Mathematica freezes and ...
0
votes
1answer
67 views

How to adjust PlotLabel

I make the PlotLabel for my plot by ...
0
votes
2answers
96 views
3
votes
1answer
71 views

Numerical testing of Hardy's inequality

I want to check the following, Hardy's most fundamental inequality, by using Mathematica: $$\sum_{n=1}^\infty \left(\frac{A_n}{n}\right)^p<\left(\frac{p}{p-1}\right)^p\sum_{n=1}^\infty a_n^p$$ ...
0
votes
1answer
40 views

Convert numerical ticks to their textual meaning in BubbleChart

In my dataset (see below), the months are represented by a numerical variable. However, in my BubbleChart plot, I would like to have them represented by their name....
0
votes
1answer
54 views

ContourPlot not displaying the plot properly

I am having some issues using PlotPoints in ContourPlot. In the following code, depending on the ...
1
vote
1answer
138 views

Shortest distance path on contour plot

I have a contour plot made of the following list: ...
0
votes
1answer
63 views

How to merge a ListLogPlot including a discrete set of data points with a LogPlot including some analytical functions?

I have an analytical 1d-function of a variable called $M$ and I have plotted that function using the following code: ...
4
votes
1answer
63 views

RegionPlot error

I'm trying to represent the following table using the command regionplot. The rectangle (0,0), (0.5,0), (0,1),(0.5,1) should be covered, however it is not. Does anyone know what the problem is? Thank ...
1
vote
1answer
49 views

Why is the solution of NDSolveValue asymmetric when the regions it's solving over are symmetric?

I am creating a mesh over a 3D region and then using NDSolveValue to try and solve for a function over that mesh. The structure is fairly simple, just two polygon squares inside of a big cube. I ...
1
vote
1answer
43 views

Connect pairs of points in ListPlot by arrows

A have set of parameters (p1, p2, p3, l, ...) taken at different time. I would like to plot them connecting the same param. with arrows from older point to the recent ones so I could see evolution of ...
1
vote
1answer
64 views

Need help on simplifying the integral of a square root of a polynomial

I have the following expression a = 4 Cos[af / 2]^2; b = 1 - 5 Cos[af / 2]^2; c = Cos[af / 2]^2; s = Sqrt[a*x^4 + b*x^2 + c] and I need the integration of $s$ in ...
0
votes
0answers
46 views

Generate list of pairs for a function in many varibels [duplicate]

In my previous post ListPlot with many variables I asked how to plot function f[x, y, z, d] versus x for varying ...
3
votes
1answer
70 views

Help with GeoRegionValuePlot

I am trying to get a map with 4 colors, I have several regions with values from 0 to 3 and I want to color those regions with value 0 in white, with value 1 in yellow, with value 2 in orange and with ...
3
votes
0answers
34 views

How does ContourDetect work for arrays?

By the Wolfram Documentation, ContourDetect gives a binary sparse array in which 1 corresponds to zeros and zero crossings in an array. However, in the example: ...
1
vote
2answers
67 views

Can't see the text inserted into a plot by Epilog

I use this command ...
4
votes
6answers
325 views

Plotting “Terrain” with “Water” on them Using BarChart3D

It's easy to present a terrain using BarChart3D using ChartLayout -> "Grid"with the following code: ...
1
vote
1answer
30 views

Correct range for X-axis in ListLogPlot

There must be a quick solution to this problem: How do you get the correct range for the X-axis. Attached below is the code: ...
0
votes
1answer
93 views

How to make RegionPlot for lists of points

Suppose I have the following function: DC[x_, y_] := 3 x - y sigma[x_, y_, z_, d_] := 3 DC[x, y] + 5 z + d I made list of ...