# Questions tagged [plotting]

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

14,826 questions
Filter by
Sorted by
Tagged with
38 views

### How to plot ListDensityPlot3D with four column data?

I want a density plot with three-dimensional data of a function f[x,y,z]. The data is comprised of four columns corresponding to x,y,z,f. I tried using the following commands. ...
• 167
66 views

### ListPlot doesn't start from the origin

I've just started using Mathematica for one my university modules, so I tried replicating the results from our practical. I've defined a function ...
1 vote
121 views

### How to make all my frames to be the same size?

I have several figures, like the one posted here, as follows: ... 60 views

### Suggestion for labeling my plots

I have several figures like the one in the below: ... 57 views

### Need help to 3D plot of the letter W

Generate a 3 D list plot using the image data from a binarized size - 200 letter "w" as heights ...
• 123
99 views

### Custom scaling of x-axis in ListLogPlot

My question is a lot similar to the one about Custom Scaling of x-axis in ListPlot, however since I am using ListLogPlot, the option of ScalingFunctions does not work. I have a data set: ...
• 79
1 vote
192 views

### How to plot the described figure in mathematica? [closed]

I have had an assignment for which I was supposed to calculate the maximum volume of the figure. I have done it and found my maximum points in the figure. The assignment does not require to plot the ...
• 21
1 vote
45 views

### Aligning text on a graph

I would like to align the reduced temperature text Tr below the x-axis and not align it to the whole graph. The code used so far is this ...
• 101
34 views

### Do the options LegendFunction->"Frame" and PointSize work?

In the Mma versions up to 12.2 the function LegendFunction->"Frame" worked. Now (version 13.2, Win.10) it seems not to work: ...
• 36.5k
85 views

### Legend for plot of multiple functions involving ReplaceAll only shows first function

In Mathematica 13.2, while defining a function for manipulating and animating a plot of multiple functions, I'm unable to generate a legend for the second and subsequent functions in my list. I've ...
• 133
156 views

### Visualizing Signs of Two Expressions

I have two eigenvalues that are given as functions of two parameters $a$ and $b$ $$\lambda_1 = - a -\sqrt{ a ^2-b^2}, \lambda_2 =- a + \sqrt{ a^2-b^2}$$ I have a restriction that $a \gt b > 0$. I ...
• 2,570
1 vote
48 views

### Interrupted plot lines when multiple branches of an ODE solution are plotted

I am plotting the following: ...
• 3,366
22 views

### How to plot a function that depends on a solution to a numerical equation?

Consider a function H[q(t),r(t)] = (1/2)(f[r(t)]-f[q(t)]), where f(x) is known, r(t) depends on q(t), and q(t) is a solution of a numerical equation. Question: How do I plot H(t)?
165 views

### Plotting set of functions with individual regionfunctions using PlotLegends

In this simple example, a set of functions is plotted using PlotLegends functionality. ...
• 41.6k
1 vote
106 views

### Stepped Infinite Square Well [closed]

Here is the link for making the above graph for the Stepped infinite square well. The problem here is, all the eigenfunctions and energy eigenvalues are previously defined. Whereas, I want to use this ...
• 1,086
1 vote
104 views

### Couple PDE of order three [closed]

I tried to solve this coupled PDE with NDsolve and use manipulation code for manipulating the obtained plot, but I get an error like order inconsistency. Here I ...
• 19
121 views

### Fourier series fit doesn't consider different local maxima of the data

I'm trying to appropriately fit a fourier model to experimental data. But the problem is that the resulting fit doesn't consider the varying local maxima of the data. Here's the data: ...
546 views

### How to plot a point with two colors?

How can I use this type of marker for this? ...
• 2,720
59 views

### Why are there problems solving this SDE system?

Following this solution by Alex: Numerically solving a system of SDE's with Levy noise?, I tried Alex's solution for a different model: ...
• 435
454 views

### How to efficiently make this color wheel?

The best approach I can find is the following: ...
• 6,854
38 views

### What's going on with Plot and Mesh here?

Here's a relatively simple function, i[t,lat,i0], that plots solar intensity as a function of time, t, given latitude, lat, and a solar constant, i0: ...
63 views

### How to make filling (semi) transparent?

I want to make the filling between lines 2 and 3 semi-transparent so that the viewer can see there is another filling between lines 1 and 3 in the background. How can I do that? Thanks in advance. <...
• 611
67 views

### How to save a plot from WolframCloud in the best quality?

I am using wolframcloud.com for generating a plot, but when I save it by right clicking and following "Save image as..." the plot gets saved with low quality (blurred). Is there a better way ...
• 501
102 views

### Plot Legends and curve labels inside Show

Here is a simple version of my actual problem where I want to label curves inside Show and indicate the labelling by a legend. ...
• 501
100 views

### Selecting the specific values from a table and saving in a table:

I have the following code: ...
• 539
1 vote
104 views

### How to plot a function line with Markers, such as square, triangle, circle and so on?

How to plot a function line with Markers: ...
228 views

### Plotting a 4-dimensional graph with the fourth dimension depicted using a color scheme

I wish to use Mathematica to plot a 4-D graph of R0 (basic reproduction number of a disease) against three given parameters in which the three parameters are represented by the x-, y-, and z- axes and ...
• 99
1 vote
61 views

### Plotting two coupled functions

I am trying to plot u(t) and v(t) vs t but no luck. I have also used RecurrenceTable but of no use. Here are the couple functions ...
• 11.8k
61 views

### Plotting projections of curves and surfaces in 3D

I would like to adapt the following code to generate two pictures: the first one is identical to the one it generates, but with the projections on the $xy$ plane of the caps that appear on the ...
143 views

### Why is Evaluate[] in Plot[] not necessary in some cases?

after reading some related materials(Why do I have to put Evaluate[] here), in my understanding, BecauseAttributes[Plot] has ...
• 147
307 views

### How can I get rid of the parenthesis in Mathematica? [duplicate]

I am new in mathematica , I am trying to solve an equation and show a graph of the solution and I am getting empty graph because of the additional Parenthesis I get . for example I want to get ...
• 135
145 views

### Time domain to Frequency domain: Simple question

I have an input sine wave of: f=60 Hz. a[x_]= Sin[(2*\[Pi]*f) * x]; If I want to have an input, the same sine wave but in the frequency domain, how it can be ...
• 539
57 views

### Plotting several curves of the same variable for different values of a parameter

I am coding an SIR model using Mathematica. I would like to know how to plot multiple curves of I on the same figure for different values of the parameter beta, say for the values of 0.001, 0.002, 0....
• 99
1 vote
81 views

### Plotting the solution of an equation

I just wondering if I can plot this solution? FullSimplify[Integrate[1/Sqrt[-1 + f/3 x^2 + b/x], x] , Assumptions -> {x > 0, f > 0, b > 0}]
• 61
72 views

### How can I plot a set of data in which each subset has three elements

let's assume this the set of data {{a1,b1,c1},{a2,b2,c2}........{a10,b10,c10}} plot a vs b and a vs c I have tried plotting this using ListLinePlot function but it didn't work
1 vote
79 views

### How does ListLogLinearPlot work and can it obtained from a ListPlot?

Consider the following example plot for some point data ListLogLinearPlot[data[[All, {1, 2}]], Joined -> True] I need to know exactly how ...
• 1,086
71 views

### I want to increment the data one by one so that the histogram changes in Manipulate

BarChart[{1,2,3,4,5,6,7,8,9}] How can I pre-populate the data from this source code and move it with Manipulate to show how the ... 47 views

75 views

### Creating an interactive plot that zooms into the function

I am attempting to create an interactive guide that zooms into the function G[x] when you roll the mouse: ...
• 249
91 views

### A Simple Integrate

I'm facing the integral ...
• 61
631 views

### 2D cross-section of ParametricPlot3D

Now I'm trying to get the two-dimensional cross-section from ParametricPlot3D, the details of this question are as follows As an example, here is a parametric equation: x=x(u,v) y=y(u,v) z=z(u,...
• 81
70 views

### Solve an equation for different values

I was trying to solve this equation for different value of a constant (a) but the solution is not different for those values?!! b and m are positive values. ...
• 447
39 views

### Some confusions about Evaluate[] and HoldAll in Plot[] [duplicate]

i can't understand the outputs of the three commands in the following picture. question1: In my understanding, command one Plot[Table[a*x^2,{a,3}],{x,-3,3}] is ...
• 147
185 views

### Approximation in LinePlot from NIntegrate

I am facing an approximation issue during a plot from numerical integration through NIntegrate. The code is: ...
• 105