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.

2
votes
0answers
10 views

How to transform plot coordinates into image pixels of exported plot?

Say I am creating a plot with a black rectangle on it. The position of the rectangle is specified by the canvas coordinates {x1,y1} of the lower left corner and {x2,y2} of the upper right corner. <...
0
votes
0answers
9 views

Extracting used plot range from plot

How can I extract the used plot range from a plot? I create a plot: ...
1
vote
1answer
34 views

Cross-Section from ParametricPlot3D

I would like to ask if there is a solution to find the cross-section from ParametricPlot3D, for instance if I want the cross-section along the x-axis. Specifically, I would want to know the z-value ...
0
votes
0answers
25 views

Problems with ParametricPlot

I am trying to produce a diagram like this: However, when I try to do it in Wolfram with this code: ...
0
votes
1answer
17 views

Changing color on BoundingRegion when not a Graphics primitive or directive

If we take the documentation example for BoundingRegion and change "MinDisk" to ...
0
votes
1answer
19 views

Plot a function defined on terms on its value on an interval

Besicovitch-Ursell family of fractal functions uses the following auxiliar definition: $\phi(x) = 2x$ on $[0,1/2]$. $\phi(-x) = \phi(x+1)$ otherwise. Is there a way to plot this in mathematica?
1
vote
1answer
20 views

Customizing Streamplot with other plots

I am trying plot vector field of a dynamical system together with highlighting some area using some inequality constraints. My state-variable for vector fields are $x$ and $y$. The following are ...
0
votes
0answers
32 views

Cut out regions of a contour plot without RegionFunction

I have an Interpolating function on polar coordinates and want to generate a contour plot for some range of the radius $r\in (r_s,r_f)$ and polar angle $\theta\in (0,\pi)$. Now, since my interpolating ...
0
votes
0answers
11 views

Plotting a 3D curve of a vector function [on hold]

I have to plot a 3D curve that is r[t]={Sin(t),Sin(2t),Sin(3t)} and I am unsure of what function to use. I have tried ParametricPlot3D but am unsure of how to properly format the equation since there ...
0
votes
0answers
45 views

Solving 2D Reaction-Diffusion with Explicit Euler Method

I am trying to solve this following 2D-Diffusion equation (I wrote it in Word, so it looks nice) (Note: I am solving this for a 100x100 mesh point) I tried to solve the above equation using the ...
1
vote
1answer
36 views

ListPolarPlot Marker and Labelling

I have a list of data points to plot. These points all have the same radius of 1. The angles are different generally speaking, but it is possible some points can have the same angle, or the same angle ...
0
votes
1answer
33 views

Plotting three related distributions on the same axis

The following solution to this problem was found by @Wolfies: ...
1
vote
2answers
70 views

Plotting waves intensities as colors

I have three wavelengths. Each of them has a different colour. I want to plot the resulting wave with colour that corresponds to the mixture of these colour intensities at every point. I tried this ...
0
votes
1answer
37 views

How can I use options for a ParametricPlot3D?

Using this command I can plot three different curves using ParametricPlot3D ParametricPlot3D[{{t x, Sin[t x], 0}, {0 , Sin[t x], t x }, {t x ,Sin[t x], t x }}, {t, 0, Pi}, {x, 0, 4}] However, my ...
1
vote
1answer
429 views

Plotting a Maclaurin series

Can anyone plot the degree-8 Maclaurin polynomial for the function $(x+1)/((x^2)-9)$ and function $(x+1)/((x^2)-9)$ on the same plot. Please help, I've tried everything I could think of.
5
votes
2answers
750 views

Noise in Eigenvalues plot

I am trying to Plot Eigenvalues of a Hamiltonian, but I am getting noisy plot, which is incorrect. Here is the code. ...
0
votes
1answer
42 views

Exchanging X and Y axes

I was wondering if I could have help with the rotation of the axis of my plot. ...
9
votes
2answers
201 views

Vertical ranges of Column in ListLinePlot in 12

Version 12 includes a new Layout->Column option for ListPlot which aligns multiple plots so they share a single horizontal axis. It seemed really useful at first....
3
votes
0answers
32 views
+50

Plot BV functions with singular derivatives in multiple space dimension

In 1-dimensional setting, two key examples of $BV$ functions (of bounded variation) $u: \mathbb R \to \mathbb R$ are the Heaviside function, whose derivative is the Dirac delta concentrated at $0$. It ...
4
votes
0answers
53 views

FrameTicks in DateListPlot doesn't support “All” in Mathematica 12

In mathematica 12, DateListPlot[{1, 1, 2, 3, 5, 8, 11}, {2000, 8}, FrameTicks -> All] gives And the error message is A ticks specification in the value ...
0
votes
1answer
37 views

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

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 ...
0
votes
1answer
44 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 ...
4
votes
3answers
96 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
0answers
50 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 =...
2
votes
2answers
38 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,...
2
votes
1answer
42 views

Combining many plots [on hold]

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 ...
5
votes
3answers
242 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 ...
0
votes
3answers
58 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 ...
6
votes
1answer
52 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
33 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
43 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
72 views

Some bold curves in phase portrait [on hold]

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

Plotting the plastic zone — Tresca criterion

I've tried to plot the Tresca criterion from maximum shear stress theory. ...
1
vote
1answer
42 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: ...
-1
votes
1answer
79 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 ...
2
votes
1answer
63 views

How to make an imported 3D Image look like X-Ray?

I have a human chest data as below:- ...
0
votes
2answers
50 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 ...
8
votes
0answers
187 views

Possible bug in ListDensityPlot in Mathematica12

I'm having some problems with ListDensityPlot in Mathematica 12 on MacOS Mojave. Here is the code: ...
2
votes
0answers
56 views

ListDensityPlot using

I have two data tables with identical parts along the vertical axis. For example: ...
0
votes
1answer
26 views

Create a list to Plot from a list returned by Solve

I have a list of 8 items the form: ...
3
votes
2answers
104 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 ...
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. ...
3
votes
0answers
66 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/...
2
votes
1answer
31 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 ...
1
vote
1answer
59 views

Problem with fit

I am trying to find a proper matching function for the following data set: ...
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
1answer
33 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 ...
0
votes
3answers
73 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 ...
0
votes
1answer
45 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$: ...
10
votes
4answers
589 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 ...