Questions tagged [plotting]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
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. ...
2
votes
2answers
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 ...
0
votes
0answers
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
0
votes
1answer
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 ...
1
vote
0answers
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 ...
0
votes
1answer
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 ...
1
vote
1answer
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. ...
1
vote
0answers
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 ...
1
vote
1answer
39 views
3
votes
3answers
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 ...
0
votes
1answer
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 ...
0
votes
0answers
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 ...
0
votes
1answer
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. ...
1
vote
1answer
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 ...
0
votes
0answers
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 ...
2
votes
2answers
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? ...
2
votes
1answer
118 views

Combine BarChart and TimeLinePlot

I have a Barchart like this: ...
0
votes
1answer
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 ...
0
votes
0answers
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. ...
1
vote
2answers
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 ...
2
votes
0answers
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 ...
6
votes
1answer
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'...
2
votes
2answers
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. ...
5
votes
2answers
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" ...
1
vote
2answers
319 views

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

I can use this code to label my points with text. ...
0
votes
1answer
63 views

How to change PlotMarker style for DateListPlot conditionally?

Suppose given a Timeseries as follows: ...
5
votes
2answers
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 ...
2
votes
1answer
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 ...
1
vote
3answers
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. ...
2
votes
2answers
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 ...
0
votes
0answers
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 ...
2
votes
2answers
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 ...
0
votes
0answers
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 ...
0
votes
1answer
29 views

Removing border line of a shape

Consider trial = Graphics3D[{Glow[Darker[Darker[Cyan]]],Cylinder[{{6 Cos[3], 6 Sin[3], 0}, {6 Cos[4], 6 Sin[4], 0}}, 1]}] This will give a cylinder. Can you ...
1
vote
0answers
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 ...
0
votes
1answer
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$,...
1
vote
1answer
26 views

Showing 3 ListPlots in a single 3D Plot

I have three ListPlots given by ...
0
votes
0answers
51 views

Fit piecewise function

I want to fit my data with the following function ...
0
votes
1answer
32 views
0
votes
1answer
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 ...
0
votes
0answers
44 views
1
vote
0answers
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 ...
0
votes
1answer
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): ...
0
votes
0answers
44 views

Help with plotting the function?

I'm trying to plot the result of the following : ...
10
votes
6answers
5k views

Filling between parametric plots

I am new with Mathematica, but am trying to fill an area between two parametric plots ...
1
vote
1answer
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 ...
4
votes
1answer
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: ...
0
votes
0answers
37 views
0
votes
0answers
39 views

Plotting Interpretation

...