# Questions tagged [plotting]

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

10,921 questions
Filter by
Sorted by
Tagged with
67 views

### Filling a 3D shape transparently

How do I fill a 3D shape transparently. I know various ways to color the edges of the 3D shape transparently but this does not produce the result I want when looking from within the shape for example. ...
79 views

### Manual ArcLength sampling on spline differs from MeshFunction sampling

Using Michael E2's answer, I performed a manual arclength parameterisation by solving the differential equation (or: finding the inverse of a function whose derivative is known). I compared the ...
28 views

### Vector into or out of the plane Symbol

How do I add the symbol for vector into or out of the plane, at a given point, using graphics? Source: https://commons.wikimedia.org/wiki/File:Notation_for_vectors_in_or_out_of_a_plane.svg
107 views

### How to plot solution of first order time dependent differential equations with other parameter not with time

I am trying to plot the solution given in the code with respect to "delc", not w.r.t time "t". I don't know what to do for getting the plot between solution and value "delc" which vary 0 to 2. The ...
46 views

### Electric field vector plot [closed]

Be able to input (x,y) and Coulombs of point on plane and generate electric field plot. Also be able to add as many points as possible. Thanks This is what I want, but not random points: Electric ...
42 views

### Plot3D Axes Label Colour

I'm using a black background on a Plot3D image and I'm trying to change the axes labels to be white, to contrast. I tried using LabelStyle -> White but this ...
52 views

### How to avoid mistakes when drawing Gaussian curvature image of explicit function?

I've got a way to calculate Gaussian curvature from here (which was written by J. M.). But when I applied it to the following function, I got a lot of error messages. ...
44 views

### FindRoot giving error in Mathematica version 12

I was using the same code in previous version of Mathematica but unfortunately I had to update Mathematica to version 12 because I upgraded MacOS to Catalina. Now when I run my code, I get this error ...
39 views

### Automating a code to use Map function, using it to plot with ListLinePlot command and plotting with certain imposed conditon

I have a code which goes like this: ...
69 views

### MeshFunctions of intersections shows wrong point

I am trying to plot the intersection of a function n and a line b/2, as well as showing the line ...
38 views

### How to plot parametric time dependent plot with different parameters taking average of time?

I am trying to plot the solution given in the code with respect to "delc". Now the problem is that it can be plot for a particular value of "t" like t=10,20,50,60,.. upto 100 but what i need is mean ...
56 views

### Layering images in mathematica to create a 3D image

Suppose I have plots of say 100 planes with two points marked so for the plane $p_i$ I have points $\{a_i,b_i\}$. Is there a way I can layer the plots of these so I can generate something that looks ...
65 views

### vector plot of electric field in closed surface [closed]

I am trying to put the vector plot inside of the closed rectangle box. Please, help me with how I can combine them. ...
137 views

### Member of a list [closed]

This list is given by $$a_1 = 2, a_2 = 3, a_n = 2 \dfrac{a_{n-1}}{a_{n-2}} + 3a_{n-1}, \text{ for } n>2$$ Find the 30th element of the list. Print the first 20 elements in a table and sort them ...
24 views

### Exhaustive search by using a tree without specifying all the nodes

I'm trying to draw a tree to visualize an exhaustive search without specifying all the nodes' positions in the graph. For example, I'd like to build a tree so that, given n=4 objects, the nodes with ...
164 views

### How to merge two or more curves smoothly?

I have plotted three curves. For each range of $x$, one of those curves is true. On the other hand, finally, the result must be a unified curve. Is there any command to unify these three curves? ...
118 views

### Combine BarChart and TimeLinePlot

I have a Barchart like this: ...
54 views

### Denominator contribution in a 3D Plot

In an earlier post I asked for a 3D plot of Plot3D[Sqrt[((x^2 + y^2)/((x*y) + 1))], {x, -20, 20}, {y, -20, 20}] along with it's integer roots and in turn plot of ...
45 views

### Workaround for Opacity + Magnify bug in version 12?

Is there a workaround for the following bug in version 12.0.0. This is in MacOSX. ...
53 views

### How to add colors and legends to plots with “Show” [duplicate]

I have lets say three plots A, B, C. I know that in order to plot them on top of each other I can use Show function and it will show them all together, Is there a ...
51 views

### Difference between surface plot in mathematica and matlab [duplicate]

Why Mathematica surface plot is showing gray color in the lower region on the surface plot. But when I cross-checked with Matlab it is not showing any thing like that. I used ...
84 views

### Using images as points in ListPlot

I am trying to make a ListPlot with a bunch of points, each of which I want represented with a distinct image (e.g. *.png). I'...
51 views

### Additional tick marks in a LogLogPlot

In the following mwe, I have a loglogplot. I want to display the tick positions where the horizontal and vertical lines meet the axes. ...
164 views

### How do I use an image as a ChartLabel?

I'm trying to use an image as a ChartLabel and I'm getting strange results. Here is a bar chart, with labels, that looks ok: But when I try to replace the "A" ...
319 views

### Label point on plot with image instead of text [closed]

I can use this code to label my points with text. ...
63 views

### How to change PlotMarker style for DateListPlot conditionally?

Suppose given a Timeseries as follows: ...
227 views

### Adding a bar legend to a 3D plot indicating surface curvature by color

I want to color surfaces according to its Gaussian curvature, but the color bar is not consistent with the color. How can I improve it? Color a HyperbolicParaboloid according to its Gaussian ...
79 views

### Including legend with reference magnitude in a VectorPlot

I'd like to plot a vector field with a legend for the magnitude of a reference vector. I have read all the document of VectorPlot and found only ...
84 views

### Create a new matrix from an existing matrix and then plot it

I have some code will test an equation and finds values for (n,j,k,l) in which the expression is true and puts them in the matrix - here is the code. ...
60 views

### How to use ListPointPlot3D with imported data with multiple columns to make 4D plot (3D + color)?

I have imported data with 5 columns. I want to use ListPointPlot3D to make a 3D plot of columns 3,4,5 with color as the values from column 2. In the end, I want to compare two plots: A density plot ...
60 views

### Differential Transform Method

I Want to solve the following differential equation by differential transform method D[u [x], x, x] + B*D[u [x], x]^2 + A*u[x] == 0; with the boundary condition ...
43 views

### Marker Size in ListLogPlot

I have trouble with a ListLogPlot using data with error bars. I want to enhance the marker size since otherwise, the data points itself can not be identified very ...
25 views

### Improvement of a method to plot values of a section of a line that moves with time

I have this code which animates a layer of fluid moving on the outside of an ellipse with a moving black point on the cylinder surface itself. I want to plot a line from the origin to the outer layer ...
29 views

### Removing border line of a shape

Consider trial = Graphics3D[{Glow[Darker[Darker[Cyan]]],Cylinder[{{6 Cos, 6 Sin, 0}, {6 Cos, 6 Sin, 0}}, 1]}] This will give a cylinder. Can you ...
33 views

### Conditional Formatting of Labels of Functions in a Grid of Plots

I have a panel of graphs where each graph shows the same functions but at different values. I want to label them with Labeled, however, as the label is quite ...
112 views

### Nonlinear iterative equation which evolves after every kick in Mathematica?

I am new to Mathematica. I am struggling but I can't code properly. Please help me plot the Wigner function between x and p. In the following equation $n$ is the number of iterations, and $b=5$, $k=2$,...
26 views

### Showing 3 ListPlots in a single 3D Plot

I have three ListPlots given by ...
43 views

...
51 views

### Fit piecewise function

I want to fit my data with the following function ...
32 views

...
42 views

### Order of “show” changes ranges [duplicate]

I am trying to superimpose two plots: a ContourPlot and a LogLogPlot. Even though they both have the same range individually, when I "show" both of them, the range of one is wrong (depending on which ...
44 views

### Help with “Coordinate should be a pair of numbers, or a Scaled or Offset form.”

I am plotting the pair of recurrence relations: ...
55 views

### Hopf bifurcation for competitive system

I am attempting to visually investigate a Hopf bifurcation in the xz plane in a competitive system but have no idea how to input some of these values so I may adjust some of the parameters as ...
115 views

### Solving and plotting derivative included function

Please suggest a method that I can use to solve (for y(x) and y'(x)) and plot the derivative related given function. Note: L may be vary): ...
44 views

### Help with plotting the function?

I'm trying to plot the result of the following : ...
5k views

### Filling between parametric plots

I am new with Mathematica, but am trying to fill an area between two parametric plots ...
41 views

### Plotting “Maximize” function takes long time!

In the following code, I am trying to plot the function GG[DM_] that contains Maximize problem as shown in Fig: where /omega_a and ...
51 views

### Relation between matrices

Maybe this is not a usual question for this forum... I have the following two matrices, mat1 and mat2, respectively: ...