# Questions tagged [plotting]

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

10,120 questions
Filter by
Sorted by
Tagged with
66 views

### Why are parametric plot coordinates different from image?

I am creating parametric equations of objects to find their centroids. With some help from others in a different stack exchange post, I was able to find some code that can accurately parametrize any ...
65 views

### Construct, in some manner, a four-dimensional “RegionPlot”

Let me abuse some Mathematica notation and formulate the following "command": ...
70 views

### Customize ColorData function

I am trying to customize the color data ColorData["AvocadoColors"] I want to make color data function of the gradient starting from the green to the white ...
44 views

### ListStepPlot with two axes of ordinates

I have the following vector: ...
34 views

### sine-Gordon equation using pseudospectral method [on hold]

I want to try this code what is the problem ? I tried this from https://reference.wolfram.com/language/tutorial/NDSolveMethodOfLines.html When i tried this i got ...
20 views

### Plot Audio DAta

I am a beginner in mathematica. Currently i am working on audio file my problem is when i extract audio information using BinaryReadList and try to plot it works with mono wav file but cannot get ...
35 views

### Encoding spatial data in Mathematica

I am doing some experimentation with machine learning and robotics, and want Mathematica to be my primary platform. For it, I need to represent a room with some obstacles (circles) and a goal (square)....
40 views

46 views

### Missing ticks and numbers on a plot when using JLink + Mathematica 11.3

I am facing a pretty random problem using JLink (Java) connected to a Mathematica 11.3 kernel and front-end. Basically I want to get an image using the JLink Java method ...
157 views

...
131 views

### Overlay barcharts with same vertical axis

I want to construct a bar chart for which the last bar is two bars stacked, while the others are not stacked. My thought had been to create two bar charts and overlay them. The challenge I have is ...
89 views

### How to classify data and deal with it as needed?

I have a list of data describing the coordinates (x-, y-axes) of points in the plane. For the same axis x, there may be several points and if the number of coordinate is odd just neglect the first or ...
44 views

### Plotting an integral where the integrand depends on the parameter values (If)

With my function $f(x)$ I would like to Plot3D $\int_a^b f(x) dx$ with the parameter values $a \in [0,1]$ and $b \in [1,3]$. The challenging part has to do with ...
66 views

### Converting an Image into a Mathematica Plot?

Consider the following graphical representation of the No Free Lunch Theorem found from Google Image: What I'd like to do (if possible) is convert this into a Mathematica Plot so that I can (i) ...
91 views

### How to plot multiple functions from a list

I'd like to get separate plots for the functions in a list, and I'm trying the following, which doesn't work. What is the correct way to do that? ...
44 views

### Missing Contours in ContourPlot

I have the following function: \[Phi]re[{x_, y_}] := With[{z = x + I y}, -Re[ z - 1 - ProductLog[Ceiling[(y - \[Pi])/(2 \[Pi])], Exp[z - 1]]]] Also I have ...
301 views

### Animating magnetic field lines on a circle

So I want to create a changing vector as a function of theta and have it's origin stay on the path of a circle. The vector I want to plot is: ...
104 views

### How do I get precise results with MonteCarlo?

I have a multidimensional integral (5D), which every time gives a different result with the MonteCarlo strategy. I tried different methods (MultiPeriodic, ("MonteCarlo", "QuasiMonteCarlo" with "...
85 views

### Sorting polynomials based on their y value and finding their intersection

I've got the following list of polynomials, ...
81 views

### Using Images for Points in ListPlot

I'm using ListPlot to label a sequence of ordered pairs in $[-1,1] \times [-1,1]$: Question: How can I make these points show up as images (from the web, etc) ...
50 views

### How to plot weighted sum of functions?

Consider a series of functions like Table[Cos[k t], {k, 1, 2, 1/10}] which are summed up together with some weights ...
87 views

### How can I calculate the expected value of the sum of “n” i.i.d. variables with any distribution?

Particulary, I would like to find the expected value of the sum of $n$ variables distributed like ParetoDistribution[1,1.14]. For example, this works for the sum of two vars with Gamma distribution: <...
73 views

### Why will points in the Epilog “get lost” when combining two plots using Show? [duplicate]

I need to mark four points in a single graph, math does it separately, but when I put together both graphs, two points of a line disappear, I really do not know why. ...
429 views

### How to change the colour of parts of a 3D plot, rather than the whole figure?

By exporting Matlab data to a txt file and importing it with List3DPlot, I plotted the density of states in a nanowire ...
50 views

### PlotMarkers - are there default common shapes available?

I'm generating a ListPlot and wanting to use Open Markers like in the 2nd example here, however I don't want the word "Open Markers" - I just want open circles/diamonds etc. Are there default shapes ...
42 views

### ListDensityPlot: How to show blank space where no data exists, instead of interpolation

When plotting data with ListDensityPlot, 'empty' points in a grid are interpolated, even when InterpolationOrder is set to zero. ...
54 views

### Finding area between curves formed by csv data

I have a bunch of Differential Pulse Voltammetry data I am trying to import into Mathematica, and find the area between each curve and the blank. So far I have used the following commands: ...
52 views

### How to set the position of the axis label in program?

I have studied the relational contents through the webpage Placing x-axes label below rather than at end of axes, but not found: (1)How to put annotation on the left of y axis and display the graphic ...
57 views

My objective function, $f(r,k;s,d)$, takes three different expressions, denoted by $f^1$, $f^2$, and $f^3$, respecitvely, depending on the conditions for the arguments and parameters as follows: $f^1(... 2answers 68 views ### Solve implicit equations and plot solutions as parameter changes I have the following two implicit equations that are functions of a parameter$f \in (.5,1]$. I would like to solve these two equations (i.e get$\sigma_D$and$\sigma_M$) for different$f\$ values and ...
48 views

I tried to plot the complex values in Mathematica using the following code ...
25 views

...
181 views

### Extracting points from 3D plot that lie along an arbitrarily oriented line

Starting from i.e. the following 3d plot: d = RandomReal[1, {100, 3}]; ListPlot3D[d] Is it possible to extract points that lay along an arbitrarily oriented line,...
57 views

### Using PlotLegends with a ColorFunction

Is there a way to put a legend mark with a color function rainbow? For example: ...
32 views

### Parsing Org-Mode Timelog Data

Suppose we have in ~/time-data/time-data.org the following data: ...
66 views

### Defining plot theme as a function of two parameters

I would like to define a new PlotTheme as a function of two variables {x,y}, how can I do that? Here is my try: ...
9k views

### How to plot Venn diagrams with Mathematica?

How does one plot Venn diagrams with Mathematica? I've searched quite a bit and I've found one source at MathWorld which provides the source code for doing them. But I don't understand this code, can ...
125 views

### How to plot a function with huge numbers?

I have a huge polynomial function P which is dependent on x, I tried plotting the function but I am getting nothing in the plot. ...
### How can I load << MathWorldCurves?
I'd like to recreate in Wolfram Programming Cloud the plot in http://mathworld.wolfram.com/notebooks/SpaceCurves/Slinky.nb How can I load << MathWorldCurves...