# Questions tagged [plotting]

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

15,602 questions
Filter by
Sorted by
Tagged with
116 views

### Solution and Plot of Coupled Partial Differential Equation Over a Semi-Circular Domain.II

This question is connected with reference to my previous question (Solution of Dimensionless Partial Differential Equation Over a Semi-Circular Domain), where I asked for a help to solve the following ...
• 107
41 views

### Plotting the energy density of Gravitational Waves [closed]

Is there a way to reproduce the curve of the spectral energy density of the Gravitational Waves in Mathematica, Figure (1) in : 0703290. It is given by Equations (63) and (64).
• 213
1 vote
53 views

### Why this code does not show three legend lines?

My code shows empty legend lines. What should I do to show the graph with three legend lines? ...
96 views

### Assign BoundaryStyle to more than one region in Region Plot using a theme

Consider the minimal example RegionPlot[{x^2 < y^3 + 1, y^2 < x^3 + 1}, {x, -2, 5}, {y, -2, 5}] Then I can use ...
326 views

### En route to Mobile (driving distances)

I want to find a nice way to display driving distances, but got stuck with the following problem: 1. Example data ...
• 47.8k
53 views

### Use of Callout changes plot fonts and lines

When I use Callout to place a label above the bars on a BarChart a number of other things happen to the graph unexpectedly. The ...
• 490
68 views

### Locating points by selecting points

My goal is to locate points without using slide bars then average point is dynamically plotted. Could I select and locate a point directly without using the slider bar?(I could locate points using ...
• 359
1 vote
63 views

### How to remove curly brackets from a list of functions?

When I'm creating a plot I standardize the format by predefined parameters, like: ...
35 views

### How can I change the thickness of the ticks on the right and top axes of a plot?

I want to change the ticks on the right and top axes on a plot like this example: ...
• 23
840 views

### Visualization of two nearly identical datasets of 2D points

This question is similar to Best way to plot nearly identically overlapping data? In my case I have two clouds of 2D points that are nearly identical. If I draw them into the same coordinate system, ...
• 205
78 views

### Restrict the background colour in a ParametricPlot region

I am trying to plot this diagram, distinguished into three separate regions by the white curve. The code that I used for this purpose is provided below: ...
• 899
44 views

### How can I get rid of white/blank areas in a ListDensityPlot?

I am trying to plot a ListDensityPlot of a list of points bayesianRiskList with entries {k, h, b}. In building it, I iterate over {k, 0, 1, 0.01} and {h, 0, 5000, 50}, thus calculating a particular b(...
81 views

### Solving differential equation with hyperbolic functions

I've been trying to solve the following differential equation: \left( \frac{d \tau}{d \sigma} \right)^2 = \frac{(E_0 \cosh\sigma-p_\tau\sinh\sigma)^2}{(E_0 \cosh\sigma-p_\tau\sinh\...
109 views

### How to plot a differential equation?

I solved a differential equation, which gave me the result: -R[x]*Sqrt[(Q/R[x]) - 1] - (Q/ 2) ArcTan[((2 R[x] - Q)*Sqrt[(Q/R[x]) - 1])/(2 R[x] - 2 Q)] == -a*x ...
• 103
1 vote
75 views

### Fitting linear decay to a semilogarithmic line

I am trying to fit this set of data,I tried a simple linear model but it didn't yield successful results, I also tried curve_fit on Python but also no luck - here ...
1 vote
70 views

### Illustrate line on a ListContourPlot from lists of data

I want to illustrate a line on a ListContourPlot. In particular, I have the following plot: ...
• 977
113 views

### How to make a PlotMarker with two colors?

I have a very simple question. I'd like to display two points -- that currently appear on top of each other in a ListPlot -- as (replace them by) a single plot ...
• 1,064
35 views

### Heatmap resolution issues

I am trying to plot a heatmap from the following code. I have a problem where the colour seems to stop before reaching the corners. Please can someone help me to make the colour run all the way to the ...
• 33
63 views

### How could I customize ColorRules or ColorFunction in MatrixPlot?

Hello and have a nice day! I need to make MatrixPlot for some data. Here you can find a notebook with preprocessing raw data and some functions from below text. I want all "Inf" values to be ...
• 25
57 views

### High Quality ComplexPlot [duplicate]

Using version 12.0.0.0, I am using ComplexPlot to create a figure. This example is from the ComplexPlot help page. I am using the command ...
• 161
1 vote
56 views

### Labeling contours

I want to label several contours in one graph. First, I drew three lines 1 == ii3 + (1 + ss)/2, 0 == ii3 + (1 + ss)/2, and ...
• 11
48 views

...
45 views

### Plotting graph in a same figure for two different values of parameter

Here I am trying to plot the graph for two different values of the parameter m, say m=5 and ...
51 views

### Plot 3D (or spectrogram) from rtl_power input

I'm going to admit that I am a complete newbie when it comes to Wolfram Language (Dammit Jim, I'm a data analyst, not a mathematician!). I have some output data from ...
1 vote
53 views

### Plotting Dengue Infection Prevalence Sensitivity to Biting Rate Variations

I want to explore how varying values of the biting rate affect infection prevalence in humans in our modeled dengue outbreak, keeping all other parameters constant. I provide you the code that I use ...
1 vote
43 views

### Finding and manually weeding out images in ClusteringComponents clusters

I have processed images using the following code, where list1 and list 2 are x and y axes, sample of images: ...
1 vote
55 views

### Graph lines do not show dashes [closed]

I have the following code of an iteration: ...
40 views

### How does Mathematica determine the number of points to plot implicitly?

What is the logic that Mathematica (or other software, if this information is not public) uses to determine how many points are needed to plot implicit equations? This discussion seems to suggest that ...
• 153
1 vote
48 views

### Plot of some complicated functions containing special functions under both Sum and Product

I am trying to plot the $|f(\theta,\phi)|^2$, where the expression of $f(\theta,\phi)$ is as under:  f =\sum_{n_j}\Pi_{j_x,j_y,j_z}P_{n_j}\sum_{l}A_s \text{e}^{-ia(l_1q_x+l_2q_y+l_3q_z)}\times \...
83 views

### Set of differential equations with trigonometric functions and a derivative squared

I've been trying to solve a set of differential equations that involve the square of a derivative, similar to another post I made here, and trigonometric functions, as seen here \frac{...
178 views

### Visualizing General Relativity Using Mathematica

There is an old layman method of visualizing General Relativity in which you assume the massive body to be placed on the top of large space-time fabric and the bending describes the effects of gravity,...
• 899
98 views

### Evaluation and plot the result of NIntegrate obtained from NDSolve

First I solved coupled ODE using NDSolve. Now I want to integrate the expression (p'''[0] - ((1.0/k)*p''[0]) + (beta*m*m*s[0]) with respect to the parameter ...
444 views

### Solving coupled differential equations involving the square of the derivative

I want to solve the following system of coupled differential equations in order to obtain particle trajectories: $$\frac{dt}{ds} = (E-y\, p_t)y$$ \...
1 vote
112 views

### How to determine the shape of real quadric surfaces? Use discriminants?

Let $a x^2+2 b x y+c y^2+2 d x+2 e y+f=0$ be the implicit equation that defines a conic section , where $a,b,c,d,e,f$ are real numbers. I have known from wikipedia how to use 2 discriminants to ...
• 857
103 views

### How to combine plots together and add legends inside the frame?

I want to combine the Zenga curves of a distribution, for different parameter values. For each curve, the parameters are a, p, q. The values for the four curves are "a = 3, p = .1, q = 5",&...
• 51
68 views

### Manipulate through Graphics3D

Inspired in this answer. I am attempting to run a Manipulate through a 3d Graphic. This is the code that I am trying: ...
83 views

### How can I obtain the temperature profile from a pressure profile of a partially filled rotating cylinder?

I would like to plot the temperature profile of a partially filled rotating cylinder. However, I am only familiar with how to plot pressure profiles. Can you please suggest a method for deriving the ...
• 1,055
79 views

### Plot the Integration of an expression that uses the results of NDSolve

I want to plot the Integration of an expression that uses the results of NDSolve. But I am getting a blank window from the following code. ...
1 vote
137 views

### Plot the evaluated results of NDSolve [closed]

I am trying to get a plot of dpdx vs x using the following code. But I am getting a blank window. ...
46 views

### Why doesn't Graphics[{Point[sdata]}] plot the last two points in sdata? [duplicate]

I am combining the plot of 1/x with some of the points on that line. Here is the data ...
37 views

### I am trying to plot the function below, however, it does not seem to be working [closed]

Do you know what I am doing wrong? The image I put below shows the function I would like to plot.
• 11
94 views

### Using GraphicsGrid for density plots with color scales

I would like to arrange the density plots in a certain order using GraphicsGrid. But when using GraphicsGrid, there is problem with the color scale, it doesn't display completely. How should ...
• 1,753
2k views

### Code golf chromostereopsis illusion

I am trying to maximally shorten the code (code golf) for chromostereopsis illusion by Akiyoshi Kitaoka: https://twitter.com/AkiyoshiKitaoka/status/1700061353346798019 The point is to make it: (1) ...
• 71.9k
141 views

### How to make the same color scale range for all plots?

I would like to make a density plot of a function: $f=B(r^2+z^2)sin^2z$ for some range of parameter B. The color scale for each graph has a different value. For instance, for $B=5: f=600$ is white ...
• 1,753
77 views

Example data ...
• 47.8k
38 views

### Plotting NIntegrate result obtined from NDSolve

I am trying to get a plot of x vs dpdx when - 0.5 < x < 0.5 which uses the results of NDsolve and F vs delp when -2<F<2. ...
1 vote
46 views

### How to plot a 3D-subspace of a $\mathbb{C}^2$ curve?

I am trying to visualize the intersection of a complex curve in $\mathbb{C}^2$ with various 3D subspaces but I am not sure how to get Mathematica to do it (so far I have been able to visualize ...
142 views

### PlotStyle function for elegant graphics

I would like to plot some functions with different line styles(dot,dash,points,etc). Where I can handle the color for example in black and the size. This is the code. ...
• 545
1 vote
72 views

### Finding how far an image has moved a very small x distance

I am trying to process 200+ images (10 datasets, each set contains ~20 images) and see how much each image changes or moves compared to a starting position for a dataset. The problem is, I expect a ...
180 views

### Plot multiple layers of distinct symmetric planes

I am trying to plot a multilayered system of distinct symmetric planes as shown in the figure below, the system should have a reference label. I don't know if I can draw it using Mathematica or ...
• 117