Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [plotting]

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

4
votes
3answers
58 views

How to change the tick of the color bar legend to black

Is there any option that allows one to change the ticks and borders of the bar legend in a density plot to black?
0
votes
1answer
31 views

Plotting a graph of a function and part of it

I am doing a numerical experiment for solving some differential equation. In some part I need to plot a graph of the exact and approximated solutions. However, they are very closed to each other and ...
0
votes
0answers
24 views

Select two of three in a triplet list {{x1,y1,z1}, {x2,y2,z2}}

I have a list of triplets {{x1,y1,z1}, {x2,y2,z2}.....} and would like to plot $x$ vs. $y$, then $x$ vs. $z$. ListLinePlot will ...
2
votes
0answers
50 views

ListDensityPlot using

I have two data tables with identical parts along the vertical axis. For example: ...
0
votes
3answers
51 views

Plot not aligned after adding plot legends

The new GraphicsColumn function claims to have the ability to align the axes Align Frame Edges. It works fine for very very simple plots, but if one adds a simple ...
2
votes
1answer
34 views

Combining many plots

I am a beginner in mathematica. I want to plot many graph in one figure. I know that if I want to plot two graph(say it as Plot1, Plot2) in one figure, then I can just use Show as ...
1
vote
1answer
23 views

How to align text to the left when inside a graphic?

I am using Show to display a set of lines. Now I am trying to label them inside the plot with P=0/0.25/0.5/0.75/0.9. However, as you can see from the attached plot, the text seems to center around 0.2,...
0
votes
0answers
24 views

Plotting a paraboloid and a plane

I am trying to visualize the intersection of a paraboloid and and a plane. My paraboloid is of the form $$f(x) = \frac{1}{2} x^\top A x - b^\top x$$ where $x$ is a vector and $A$ is the pd matrix $$A =...
4
votes
3answers
149 views

How to ternary Plot3D a function

I ploted 3D the function Sin[A/2]Sin[B/2]Sin[C/2] with A, B, C > 0 and A + B + C = Pi. A ...
3
votes
3answers
401 views

Plot a specific branch of a multi-valued complex function

Let's say I want to plot a branch of the following function $f(z) = \sqrt{z(z-1)}$. Let $z = r_1 e^{i\theta_1}$ and $z-1 = r_2 e^{i\theta_2}$. How can I tell Mathematica to plot the branch for which $...
12
votes
3answers
330 views

Finding and visualizing of branch cuts and branch points

Is it possible to determine branch cuts and branch points for complicated functions using mathematica Iam trying to determine the brnach cuts and branch points of this complicated function We have ...
5
votes
1answer
42 views

Dynamic filling of a region of a polar plot

I would like to shade area of region as a function of angle using PolarPlot. Here is my attempt. ...
1
vote
1answer
26 views

How to apply color function (e.g. Hue) to Image3D?

I have a 3d image data PlotData1, and I want to plot the Image3D with color. I tried this (Note: I don't have ...
0
votes
0answers
41 views

Bug in Contour Plot [duplicate]

I think the following are bugs: ContourPlot[y (x - 1)^2 == 0, {x, 0, 2}, {y, -2, 10}] ...
0
votes
0answers
66 views

Some bold curves in phase portrait

In the phase portrait plot, how can we bold some curves with different colors? I am trying the solve the system of ODES but failed to get produce any output. ...
8
votes
0answers
170 views

Possible bug in ListDensityPlot in Mathematica12

I'm having some problems with ListDensityPlot in Mathematica 12 on MacOS Mojave. Here is the code: ...
1
vote
1answer
37 views

Coloring edges by weight and changing color but keeping shape for CommunityGraphPlot using PlotTheme->“Marketing”

(Apologies, but I cannot share the data that I am using for these graphs.) I am finding communities in my data set by using CommunityGraphPlot, and the results looks pretty good: ...
0
votes
0answers
47 views

Plotting the plastic zone — Tresca criterion

I've tried to plot the Tresca criterion from maximum shear stress theory. ...
0
votes
3answers
253 views

How to show decimal points on the axes frames in mathematica?

I have a set of data g1 and when plot using n1, i got the plot shown in figure below. I need to change the x-axis label from (1,2,3,4,5...) to (1.0,2.0,3.0,4.0,5.0) and y-axis label from (50000,...
-1
votes
1answer
76 views

ComplexPlot3D and essential singularities [on hold]

I am trying to understand the behavior of the functions $$ f(z) = e^\frac{1}{z} \qquad \text{and} \qquad \frac{1}{f(z)} = \frac{1}{e^\frac{1}{z}} $$ in the neighborhood of $z=0$. From the power ...
0
votes
1answer
40 views

How can I plot a function (unidimensional) in a 3D plot

I would like to plot a figure like that using Mathematica. They figure are three plane wave ( cosine or sin ) all share and have the same coordinate origin. As you observe, the waves propagate along ...
1
vote
1answer
53 views
0
votes
2answers
167 views
0
votes
1answer
25 views
5
votes
2answers
580 views

ListLogLogPlot with ErrorBars

I have the following data consisting of x, y pairs and errors of y: ...
36
votes
5answers
17k views
3
votes
2answers
100 views

How to Make a Beautiful Stacked 3D Plot

I am looking to make a plot where: Plot is composed of a group of 2D plots, stacked in 3D. The height of the line is indicated by the color. The mean of the wave of each plot is indicated by a dashed ...
2
votes
1answer
251 views

How do I center an item in a Grid?

I was trying to use Grid to align different plots, two on the first row, and only one in the second row, so I have something like this (where a,b and c are plots): ...
0
votes
1answer
31 views

How to plot two functions together when one of them needs to be a series of dots, with common labels and colors?

I have two functions that I want to plot together. I want to plot the non-linear and the linear (NL and L in my code) functions together, but I wish that the NL function is plotted as a series of dots ...
1
vote
1answer
87 views

Parametric region cannnot be automatically discretized/not a valid region to plot

When I try to plot this simple parametric region: ParametricRegion[{x, Sin[z + t] + Sin[t - z]}, {{x, 0, 1}, {z, 0, 1}, {t, 0, 1}}]; RegionPlot[%] I get errors ...
0
votes
1answer
30 views

How to Plot between square of the solution and square of the term occurring in the equation?

I am trying to plot between (mod[E01])^2 and (mod[as])^2 and for that using the following code as seen below. But not getting any plot. If anyone knows this, is welcome. ...
1
vote
1answer
59 views

Problem with fit

I am trying to find a proper matching function for the following data set: ...
7
votes
2answers
178 views

Issue with FrameTick marks in Mathematica 11.3

Bug introduced in 11.3 or earlier and fixed on 12.0. (?) For a while I have been using the same code to make figures with tickmarks pointing out from the axes away from the center of the figure. ...
84
votes
5answers
11k views

How can I generate this “domain coloring” plot?

I found this plot on Wikipedia: Domain coloring of $\sin(z)$ over $(-\pi,\pi)$ on $x$ and $y$ axes. Brightness indicates absolute magnitude, saturation represents imaginary and real magnitude. ...
2
votes
1answer
30 views

Reversing axis prevents formatting of that axis

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 ...
3
votes
0answers
61 views

Configuration of `PlotLayout` as “Row”/“Column”

A long awaited feature has finally been implemented in Mathematica v12: the multi-panel plots via PlotLayout! Demos are here: http://www.wolfram.com/language/12/...
0
votes
0answers
36 views

Using Interpolating Function [duplicate]

I'm a bit of a noob with mathematica. I'm having a problem trying to use values from my solution. I've used ND solve to integrate ODEs. I have ...
0
votes
3answers
69 views

Solving System of Differential Equations and Plotting

I'm new to Mathematica and I'm struggling with this exercise of Initial Value Problem: Two equations with conditions $x_1$'=-2$x_1$-3$x_2$+cos(5t) $x_2$'=-$x_1$-5$x_2$+sin(10t) $x_1$(0)=1 $x_2$(0)=-1 ...
10
votes
4answers
585 views

ListPlot join points by nearest neighbor rather than order

I have found some software that allows me to "data mine" the values from publication figures. I have a bunch of contours from papers that I've mined using this software, and am having some trouble ...
0
votes
1answer
46 views

How to get separate ListPlots into a single ListPlot with legends and labels

I am currently getting 2 seperate plots for the stress variation with t as shown in the picture below. I would like to get them in a single plot with legend to distinguish them. Could someone please ...
0
votes
1answer
44 views

Solving and Plotting an integral function

I am new in the use of Mathematica, so please forgive me.. I want to integrate and plot the following integral function: $F(x)=\displaystyle\int_x^\infty\dfrac{t\sqrt{t^2-x^2}}{e^t-1}\text{d}t$: ...
0
votes
0answers
22 views

Using MaxValue to define a function, plotting is slow

I'm trying to compute c-functions (from the theory of optimal transport), and so I must compute `supremums' for some function $f$ and cost $c$ $$g(y)=\sup_{x\in \mathbb{R}} c(x,y)-f(x)$$ My code ...
0
votes
2answers
80 views

How to plot: $\int - \frac {W(-\ln x)}{\ln x} dx$? [on hold]

How would we plot: $$\int - \frac {W(-\ln x)}{\ln x} dx$$ Where $W$ is the Lambert W function?
0
votes
1answer
39 views

Manipulate shows an empty plot [closed]

My Manipulate expression Manipulate[ Plot[100[x]^2/(T^4 (Exp[x/T] + 1)), {x, 0, 30}], {T, 1, 4}] shows an empty plot. ...
1
vote
1answer
45 views

Project RegionPlot3D to 2D using hue/color function to show third dimension

I would like to project the output of RegionPlot3D onto a 2D plane. Basically I'd like to turn this ...
-1
votes
1answer
75 views

Plot fractional trigonometric functions with the Mittag-Leffler function

Can anyone help please? Im trying to plot the solution $X$ of the system as in the paper attached - about fractional calculus which is $X= [E_{\nu}(2t^{\nu})][2 \cos_{\nu}(3t^{\nu})+4 \sin_{\nu}(3t^{...
1
vote
1answer
104 views

Rescaling and Image Padding Issues with GraphicsRow

I am trying to get a row of plots (which include legends and labels) using GraphicsRow, with vertical heights of the plots equal. I manually set the size and image padding of these plots so that the ...
1
vote
0answers
51 views

Colors in contours

When I want to draw a wide range of pictures,the value z=1 or z=-1 corresponds to plate patterns,I want it corresponds to one colour.This problem arises only when the scope of painting is ...
2
votes
2answers
77 views

How to construct and plot the following accumulated list?

I have a list, say it is a = {1,3,3.2,3.9,4,4.4,4.9,5,7,8} To get the accumulate: acc = Accumlate[a] I want to plot the ...