# Questions tagged [plotting]

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

10,037 questions
31 views

### Circle Equation isn't plotting — [closed]

I have a circle square root equation but Mathematica is not recognizing it. I need it in a piecewise function and while the other parts graph out correctly, this one does plot at all. Thanks!
27 views

### How can I exclude a point from a Region Plot? [duplicate]

I want to exclude the point {0,0} from: RegionPlot[0 < x^2 + (y^2)/4 <= 1 , {x, 2, -2}, {y, 2, -2}]
50 views

### Finding positive region of continous function

I want to find (and plot) the positive region (within a certain domain say x<3,y<3) of a function ...
129 views

### Create a Venn diagram showing the relations of three sets of quantum states [closed]

I've determined a number of probabilities pertaining to three subsets of the "magic simplex" of quantum states described in https://arxiv.org/abs/1212.5046, and certainly would like to have a ...
99 views

### How to integrate this function?

How can I perform the following integral? ...
26 views

### Fixing the plot region absolutely

I have seen many posts where people are asking to scale the plot region with another plot, especially for when people are using side-by-side plots. Is it possible to set the plot region absolutely. ...
24 views

### RegionPlot fails

Consider a function f[x_,y_]:=NIntegrate[g[x,y,z],{z,1.1*x,3000}] where g[x,y,z] is some function. The function f[x,y] is smooth and works perfectly when Plot it....
36 views

### Having trouble plotting a logarithmic equation

I want to plot these two logarithmic equations: $\log_{10}x^2 = 6$ $10^{\log_{10}x^2} = 10^6$ $x^2 = 10^6$ $x=\pm 10^3$ This is my code for trying to plot this: ...
28 views

### How to plot for imported data while performing some operations on different columns?

I have imported an Excel file, then I did multiplied different numbers with different columns; ...
1k views

Consider: ...
51 views

### Plotting a transcendental equation [duplicate]

I would like to get this graphic: from this article. Here $\kappa$ and $\varepsilon_{dd}$ are related by: ...
115 views

### How to show that $f(z) = z^2 + 1$ intersects the line through the roots of $f(z) = 0$ in ComplexPlot3D?

I have plotted the complex function $f(z) = z^2+1$ by using the following code: ComplexPlot3D[z^2+1, {z, -5 - 5 I, 5 + 5 I}] However, I want to show that $z^2+1$ intersects the line $\Re(z) = 0$. ...
37 views

### How do I evaluate “If” statement inside PlotLabel? [closed]

I have an experimental function that is dependent on x and y [f(x,y)=Sin(ax/by)]. I am trying to make a 3D plot of f using the manipulate function so that I can easily input measured values of ...
61 views

### find gravity acceleration (g) using FindFit

I need some help again, with this simple exercise: Use the data to determine g, but this time use the functional form T = 2 pi Sqrt[L/g] for the period T of a ...
228 views

### Circular table (spreadsheet like) - is it possible?

In the past, I've made a circular spreadsheet in Javascript, which can be seen in here : http://secteur-3.net/ARN-Public/ARN.html (left matrix). Each cell is bound to some data and have minimum ...
867 views

### How to plot paired smooth histogram/distribution plots?

I've been trying to get paired distribution (aka "violin") plots like those shown below for a few hours, but all my attempts have failed. The key features here are paired smooth histograms/...
164 views

### How to get DistributionChart to show normalised densities?

I am having some issue getting DistributionChart to show bin widths as expected, or perhaps it is in my interpretation of the plots. I have four data sets, all of ...
43 views

### Manipulating ParametricPlot

I have to solve the following task: Write a Manipulate command containing the values ​​a, b, c and d of the matrix $\begin{pmatrix} a & b \\ c & d \end{pmatrix}$ each varied in the range [0,...
26 views

### ParametricPlot of multiple curves Plot y[z][t] versus x[z][t] with both change with t (continuous variable) and z (represent different groups)

Two functions both change with the same independent variable t, there is another variable represent different groups (z). how to plot y[t] versus x[t] with each group of z represented by one ...
39 views

### 3D plots don't show box or axes in 11.3 on Linux [duplicate]

I am using Mathematica 11.3 Student Edition on Linux (Ubuntu). When I make a 3D plot using Plot3D or ParametricPlot3D or any ...
72 views

### How can I remove a certain point from a 2D region?

I started experimenting with Mathematica a few months ago in college (It's my first year in electronics engineering, so I'm not even close to an advanced user's profile yet). My problem comes when I ...
45 views

### How to plot four-dimensional discrete data (x,y,z,p)?

I have got a large list of 4D data (x position, y position, z position, amplitude, and they are 1D arrays). I want to plot x, y, z as axis and amplitude as an express of color. Maybe I could use ...
64 views

### Graphics not plotting in new version

There is something in the old version 8 that does not update graphics into my newer Version 11: ...
33 views

### Plotting results of NMinimize with respect to a parameter

I have some predefined function F[x], where x can be a 2D vector. I am doing the following: ...
53 views

### Dynamic Plot of multiple Disk Graphics

I want to plot multiple disks with disk-coordinates and disk-radii from two dynamically updated lists. I think there should be an easy way to do that but I dont get it. Thx for your help! ...
37 views

### Why are LogPlot results different to Plot of log results?

I have the following function for which I want to generate a LogPlot for: ...
25 views

### DateListPlot Didn't Display the Data [closed]

I'm trying to plot the data with DateListPlot function, but having some issues with the output. Here is what I'm doing. I'm downloading and parsing RAW JSON like this and extracting values section ...
26 views

### Calibrating the axes of a 2D plot

When the data a = Table[Sin[x], {x, 1, 20, 0.1}]; ListPlot[0.1 *a] is plotted, one finds that the range of x-axes is labeled as 0 to 200: How can one reset the ...
267 views

### Trying to plot a wormhole; getting bad results

I have been attempting to plot a "drainhole" wormhole with the metric $\qquad ds^2 = dt^2-dr^2-(r^2+a^2)(d\theta^2+Sin[\theta]^2d\phi^2)$ I set $a=0$, and after converting from spherical to ...
79 views

### Can't place PlotLabels with PlotLayout->“Row”

When I try to plot a set of graphs using ListPlot with PlotLayout->{"Row", 4}, and then try to label the plots using ...
2k views

### Placing a zero at coordinate center when plotting with Ticks -> None

I'd like to plot a certain function where only its qualitative progession shall be emphasized. Thus, using the Ticks->None option seems to be appropriate. ...
12k views

### How can I plot the complex graph of $x^x$ in Mathematica?

For example, this Wolfram Alpha query shows this graph: But it does not show the code for plotting it in Mathematica. Plot[x^x, {x, -1, 1}] only plots the real ...
218 views

### Region plot with region function

I am pretty new to mathematica (very new) and am trying to make a plot to display regions of a function that are positive and negative subject to a constraint. I have a function $P = P(n,m)$ that has ...
23 views

...
45 views

### Plot3D does not show graph [closed]

Recently, I tried below code in Mathematica to plot a 3D graph. Plot3D[cos[x] + tan[y], {x, -Pi, Pi}, {y, -Pi, Pi}] But there is no graph in the resulted figure....
49 views

### How to customize ListPolarPlot axes?

I am trying to make a polar graph of star positions. My current code is ...
46 views

### Problem with Manipulate+Plot [closed]

Here's an image of my problem. PlotMe is just a variable I use to store an equation. It is shown in Out[1002]. When I use Output(1002) in In(1003) it works as expected. However when I just use PlotMe ...
73 views

### 3D-Plot optimization results for varying parameter values

Before starting, FYI: This is a question related to 3D Plot the result of local Minimize with varying parameter values Consider my objective function, $objF$: ...
56 views

### Plotting the behavior of the solution of six equations

I need plot the behavior of the solution of a system of six equation In 2D I would use StreamPlot. ...
170 views

### Plot certain variations of the Cantor set

In the post graph of the Cantor set in Mathematica, there are many nice plots of the Cantor set. It is possible to use Mathematica to produce the plot of a $360°$ rotation of the Cantor set around ...
185 views

### PlotLegend frame disappeared after export

I placed a framed PlotLegend and it works just fine in the notebook, but after exported to PDF the legend frame disappeared. ...
120 views

### Error plots in MMA 12.0

Suppose I have the following data and associated quartiles: data = RandomReal[{0, 1}, {40, 10}]; qs = Quartiles[data] I want to make an ErrorListPlot from the ...
63 views

### Weibull statistics

I have two data sets am interested in finding the weibull modulus and characteristics strength for the two data sets and plotting the data seperately but on the same graph Material (a) 723, 684, ...
135 views

### Plots of functions in Mathematica [closed]

I have two functions x[t] and y[t] which are similar in trend. I want to plot them in the same figure but it is hard to ...
89 views

### Filling only parts of a ListLinePlot

I have a set of {x,y} data that shows a measurement value over time on the x axis. I'd like to highlight several chunks of time on my ListLinePlot by filling the plot to the axis for only certain x-...
80 views

### Arrays, Mapping, and Convolutions

I'm trying to create a function that convolutes a 3D Normal Distribution to the points listed below. However, I think I'm going about it in the wrong way. When I try and convolve it with the points, ...
63 views

### Reversing axis prevents formatting of that axis [duplicate]

I'm looking to make a graph with the x-axis reversed and a frame and tick marks that are thicker than default. However, the x-axis tick marks do not maintain the specified thickness once I reverse the ...
166 views

### Reverse ColorFunction or ColorData

please excuse my bad English, I'm not a native speaker. This should be fairly simple: Is there a simple way to "reverse" ColorFunction or ColorData? Let me explain what I mean. Let's say, we have ...
I am trying to do a double integral over a domain $x \in (\theta_1,\theta_2), y \in (0,\theta_1)$. Instead of doing a definite integral I am doing an indefinite integral and taking limits. All that is ...