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
25 views

RegionPlot the difference of two RegionPlotted functions

Let us define and angle in terms of a parameters $\alpha$ as χ[α_] := π/2 - EllipticK[Tan[α]] // N and ...
2
votes
2answers
32 views

How to plot implicit region that contains Solve

Suppose that I have a complicated function F(a,x,y) and I want to plot the 2D region of (x,y) points such that ...
1
vote
2answers
56 views

How do I make 3D plot for T, G and P as a function of $r$?

I want to plot a 3D graph ('G' v/s 'P' v/s 'T') for folllowing value as 'T' in terms of r ...
0
votes
1answer
68 views

Phase transitions graph

I have temperature T in terms of r as T = 1/(4 Pi r) + 2 P r^2 and ...
0
votes
1answer
57 views

High r square but strong pattern in residuals [closed]

I analyze the development of the total number of users over time. It is obvious that a linear regression fits the data. The r squared is then also 0.9961. Now the problem: a plot of the residuals ...
2
votes
1answer
173 views

Why program output produces 0 / 1 error

...
0
votes
2answers
47 views

Density function graph

I want to plot density function graphs of Ailamujia distribution pdf and acd on mathematica software .
0
votes
0answers
44 views

DensityPlot ignoring my PlotRange request

Why, when I run the following code, do I get a plot which doesn't restrict the plot range to the range I request? Instead I get a largely blue space (indicating that the function values are very low ...
1
vote
1answer
27 views

Combining Labled with LabelStyle

I try to add a Style to my Labled plot. However, when I combine Labled with Label Style, I do not succeed. ...
2
votes
1answer
119 views

Constructing and plotting a special periodic function

I need to program and plot the following special function in Mathematica 12.0: $$ a_{1}(t)= \sum_{n\geq 1} \beta_{n}(t), $$ such that, for every $ n \geq 1 $ $$ \beta_{n}(t)= \displaystyle \sum_{...
5
votes
4answers
202 views

How to extend a function by period and display it

I want to extend this function into a new function according to its period Plot[-((E^x + E^(-x))/2), {x, -1, 1}, AxesOrigin -> {0, 0}] and then draw this ...
2
votes
1answer
59 views

Plotting a two parameter function evaluated at a specific point

I am trying to solve the following problem: given the differential equation $$\frac{d^2y}{dx^2}+\bigg(a+b\frac{2}{\pi}\tan^{-1}x\bigg)y=0$$ subjected to two different initial condition we get two ...
1
vote
0answers
30 views

AxesOrigin in ContourPlot [closed]

Is there a way to change the origin of the axes in ContourPlot? I know that Plot the option of ...
9
votes
6answers
248 views

Obtain PlotLabel from Plot

I have a very simple question that I cant find answer: how do I extract the PlotLabel from an existing plot? For example ...
0
votes
1answer
40 views

Setting different steps for Y-Axes of ListPlot

I am trying to set the scaling interval of my Y-Axes different than Mathematica automatically does. So in steps of 1000 instead of 2000 (see picture) At the moment I determined following PlotRange: <...
2
votes
1answer
80 views

how can draw a scatter plot with a regression line across regions using Manipulate[…]

I have the following code: ...
4
votes
1answer
36 views

Control width of IntervalMarkers in ListPlot

I am creating an scatter plot with error bars in Mathematica 12 using IntervalMarkers -> "fences". Is there a simple way to increase the width of the top and ...
1
vote
0answers
50 views

Why is g[x] handled differently as f[x] from Mathematica? [closed]

When I execute this code: ...
-1
votes
0answers
54 views

Trying to figure out someone else's code and can't understand how this plot works (or rather, doesn't) [closed]

The person before me created a system to create a x,y plot of ellipses according to certain data. She was able to create a list of these plots, but somehow, the code became unusable and I can't ...
2
votes
1answer
88 views

Selecting Edges and Corners in a Mesh

Consider the following VoronoiMesh obtained after a few iterations of Lloyd's relaxation algorithm ...
2
votes
3answers
68 views

How do I add an error band to a plot?

I have two plots, one generated with Plot and the other generated by ListLinePlot. Both plots look the same. I am trying to plot ...
1
vote
0answers
43 views

Numerical Artifacts in Schwarz-Christoffel (I think?) How to remove?

I have a problem that involves integrating a complicated Schwarz-Christoffel integrand. In order to test out my results so far, I've tried to give simpler integrands of the same type to Mathematica, ...
2
votes
1answer
56 views

Euler's constant 'e' in italic in plot legend

I'm new to Mathematica. I wrote the following code and got the output as follows I cannot reproduce the code here as I don't know how to type 'e' in the blackboard font. I typed it in Mathematica by ...
1
vote
0answers
74 views

Plotting with known final value [closed]

I want to make a plot with a condition in such a way that the function A3 is zero at above some value of argument x. For ...
7
votes
2answers
72 views

How do I plot this vectorial system in Cartesian coordinates regarding the triangle $ABC$?

Let $ABC$ be a triangle from plane such that we define three points $I$, $J$ ,$G$ satisfying respectively the following equations: $$2 \vec{IA}+\vec{IB} =\vec{0}$$ $$\vec{JB}-2\vec{JC} =\vec{0}$$ $$...
2
votes
1answer
49 views

How can i intersect a line with it´s rotated counterpart?

So, i'm trying to intersect an infinite line with a line, this is my code for now, i have been using Region Intersection, but it seems it does not work with this case i have: ...
2
votes
1answer
38 views

ColorFunction-> Distance to specific Point (Mean)

Good Day to you, I am trying to plot points in a ListPlot/ListPointPlot3D with a ColorFunktion representing the distance to a given point (in my case the Mean point of the data). I have tried this, ...
0
votes
0answers
29 views

How to overlap 2 different Y axis plot using OverLay

I want to plot the following image using ListPlot [taking the points from get data graph] and I used the command OverLay along with ImagePadding ip = {{85, 65}, {125, 0.16}} and ImageSize-> 500 ...
2
votes
1answer
34 views

How to create parametric region including a parametric curve and a non-parametric line?

I am trying to integrate a figure composed of a piecewise parametric curve with both ends bound by a straight, vertical line segment. I have displayed the curves on top of each other using the ...
1
vote
2answers
102 views

Why does ParametricPlot does not reach the values I expect?

I have these expressions: ...
3
votes
2answers
182 views

Plotting boundary of 3d topographical plot on a 2D line

I have a table consisting of the points of the following plot: Which looks like this from the top: I would like to plot a line connecting all the dots of the boundary in the first picture, so that I ...
1
vote
0answers
53 views

Plot a circle on Spherical surface [duplicate]

How do I can plot a circle on a sphere using Mathematica code? I would like to draw small and great circles for arbitrary orientation on spherical surface.
1
vote
0answers
33 views

Scattering propagating wave on potential using Manipulate and ListPlot

I have written the following code: ...
4
votes
1answer
106 views

Plot a graph with an uncertain number of tangents

The code below tries to illustrate a graph ($y=(2-x^3)/x$) that can have 1-3 tangents depending on the tangent point $a$. ...
0
votes
1answer
28 views

ParametricPlot on Piecewise function not working with consecutive t values [closed]

I am trying to graph a piecewise function composed of a series of parametric cubic functions. I initially created a ParametricPlot for the first four pieces of the equation and it was working fine, as ...
3
votes
1answer
36 views

Manipulate ListPlot a matrix [closed]

i am tring to plot a propagating wave function, but the instead of function i have points. so i have a n*n matrix (TTpsi) that i want to plot each row separately. The wave is "propagating" when the ...
0
votes
0answers
35 views

How to contour plot Sign? [closed]

I want to draw contour plot of sign function: fc[x1_, x2_] := Sign[x1 - x2] plt2 = ContourPlot[fc, {x1, 0, 5}, {x2, 0, 5}] but Mathematica draws blank plot: ...
-2
votes
2answers
79 views

Manipulate NDsolve 1D-reaction diffusion equation

I want to solve the following 1D-reaction diffusion equation: $$\frac{\partial}{\partial t}u(t,x)=\alpha\,\frac{\partial^{2}}{\partial x^{2}}u(t,x)+a\,u(t,x)$$ $$u(t,0)=0\,\,\,\,\,\text{et}\,\,\,\,\,u(...
4
votes
1answer
61 views

RevolutionPlot3D: get graphics primitives

From this answer, I was able to figure out how to get the graphics primitive from a Plot3D. However, this does not seem to work for a ...
0
votes
1answer
82 views

How can I draw a tailor-made contour plot?

Given the following code: ...
2
votes
1answer
53 views

ContourPlot not showing all curves [closed]

For some reason ContourPlot does not show all the curves (I am using Mathematica 12 Home Edition on Windows). For example consider ...
1
vote
0answers
23 views

What is the default Color Gradient used by ContourPlot? [duplicate]

What ColorFunction does ContourPlot use by default --- that is, what does "Automatic" mean as the value for that option? The "Density and Contour Plots" tutorial says: By default, the color ...
4
votes
2answers
256 views

Concentric layered sphere with logarithmically scaled radius

How can I achieve a 3D visual of a concentric layered sphere (like an onion), where the radius of each layer is tick-marked using a logarithmic scale? Specifically, my project is to realize the ...
0
votes
0answers
68 views

How can I reverse the direction of the y axis of a list vector plot? [duplicate]

I want to reverse the direction of y-axis of my plot. What should I incorporate in my code? I am attaching part of my code where the plotting action is occurring. ...
8
votes
1answer
82 views

How do I make PlotLegends appear graphic symbols in the correct color?

If I create this plot ...
2
votes
1answer
38 views

How do I increase the tick width of error bars in ListPlot?

I have a plot with y-error bars and would like to increase the tick size of my error bars. This is the code for a simple example plot: ...
1
vote
0answers
51 views

Plotting PDE Solution With Changing Parameter

I have a Fokker-Plank equation I'm trying to solve the Fokker-Planck equation $$\frac{\partial p}{\partial L}(L, \eta)= \frac{1}{L_{loc}}\frac{\partial}{\partial \eta}\left[\left(\eta^{2}-1\right) \...
4
votes
1answer
60 views

Keep mesh of triangulation under complex valued transformation

I try to make a quick tool for "plotting" complex valued functions. Therefore I generate a Table of complex valued points lying in the complex plane building a ...
1
vote
1answer
52 views

Tooltip for a ListPlot

I have the following values: ...
3
votes
1answer
104 views

Getting a fimbriated plot

I use the online version of Mathematica. The function I want to plot is: ...