A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
1answer
161 views

Plotting an ellipse given axial ratio and orientation

I have already looked at this answer but couldn't figure out how to use it in my case, particularly due to needing to include the orientation. I currently have a value for my axial ratio and a value ...
3
votes
1answer
225 views

Plotting cuboid in a ellipsoid

I'm having trouble to implement a plot in Mathematica. I want to plot two things at the same time. The first thing is a ellipsoid given by $\displaystyle f(x,y,z)=\frac{x^2}{a^2}+\frac{y^2}{b^2}+\...
12
votes
6answers
914 views

How to plot a bicycle with square wheels

I want to draw a bicycle with square wheels similar to this picture, but I can't plot the trajectory along the curve. enter link description here ...
2
votes
1answer
52 views

Plot a point on a surface [duplicate]

I would like to plot a point (in a shape of a small sphere) lying on the surface $z=10-x^{2}-y^{2}$. But it seems that the spherical point is being distorted. How can I make it round? This is my ...
1
vote
1answer
45 views

How to make an animation of a body when I know its coordinates in time as a table

I'm trying to numerically solve a system of differential equations describing two pendula connected to each other by a spring, and then make an animation of their evolution in time. What I have now, ...
0
votes
0answers
38 views

This code is supposed to Integrate and Plot function but dose not work?

I use this to see magnetic field plot but output is just empty, anyone knows why? ...
1
vote
1answer
41 views

Is there a way for me to plot a 3D time dependent vector?

I wanted to know if it is possible for me to plot a 3D vector (with x, y, and z components) in which each component is dependent on time. For more context, I want to plot the function: $\qquad E(t) =...
0
votes
1answer
56 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 ...
2
votes
3answers
72 views

Plotting asymptotically constant functions

Can anyone explain why Mathematica struggles with the following (equivalent) plots? ...
3
votes
1answer
67 views

Plot function with parameters from Reduce

I would like to modify the question a bit. I want to plot the function m with different combination of (a1,b1,a2,b2) over a ...
5
votes
2answers
119 views

Plotting a list of “Numerical” functions

In expressions like Plot[Through@{# &, #^2 &}@x, {x, -1, 1}] Plot effectively interprets the first argument as a ...
1
vote
1answer
48 views

Manipulating two list into a single list of two dimensions [duplicate]

I have a list A = {1,2,3} and B = {4,5,6} Is there a quick way to produce C out of A and B such that ...
2
votes
1answer
27 views

Parametric Plot of Simultaneous Equations

I have tried to solve a pair of simultaneous equations in Mathematica. I was able to solve these equations but I was unable to plot them in the way I wanted. My equations gave me solutions for two ...
2
votes
1answer
71 views

ContourPlot3D very noisy/pixelated

I try to draw a figure with a following code, where one ContourPlot3D should be shown above another ContourPlot3D: ...
10
votes
3answers
633 views

How can i construct a 3D surface pass through a curve defined by formula and some other controllable points?

For example, If a have a curve defined by x^2+y^2=1 and z=0, and some isolated points having z coordinates, Can I construct a 3D surface passed through? It's better if I can change the surface shape ...
6
votes
1answer
220 views

Remove zig-zag part in the intersection curve

I would like to show the intersection between the plane $2x-y-2=0$ and the surface $z=\sqrt{4-x^{2}-y^{2}}$. This is what I tried: ...
0
votes
0answers
36 views

Plot3D is not showing the expected plot

I'm trying to Plot3D a complicated function, and was getting an empty plot, nothing. Everything was well written. Then, I went to the definition and copied the ...
3
votes
2answers
54 views

Add region-labels below x-axis

I need to add arrows & text that determine which function has the highest value in a given region. I do not even know where to start. Imagine I have the following plot: ...
0
votes
1answer
62 views

Fill area in between lines

I want to obtain a shape formed by the area enclosed by or in between Line[] objects. The lines have been extracted from various types of plots. There can be a <...
1
vote
1answer
51 views

Plot3D is not showing any plot

Plot3D[(4/Pi)* Sum[Cosh[n*Pi*x]/(n*Cosh[n*Pi])*Sin[n*Pi*y], {n, 1, Infinity, 2}], {x, -1, 1}, {y, 0, 1}] On evaluating the plot I am not getting any ...
1
vote
1answer
46 views

Fill the gap when plotting surfaces

I would like to plot the intersection between the surface $z=-\frac{y}{2}+1$ and the surface $z=\sqrt{1-x^{2}}$. This is what I tried: ...
2
votes
2answers
44 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 ...
0
votes
0answers
40 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
1answer
92 views

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

I have the following code: ...
1
vote
2answers
66 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
63 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
181 views

Why program output produces 0 / 1 error

...
0
votes
1answer
70 views

Phase transitions graph

I have temperature T in terms of r as T = 1/(4 Pi r) + 2 P r^2 and ...
1
vote
3answers
103 views

How can I use options for a ParametricPlot3D?

Using this command I can plot three different curves using ParametricPlot3D ...
10
votes
6answers
279 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
2answers
49 views

Density function graph

I want to plot density function graphs of Ailamujia distribution pdf and acd on mathematica software .
2
votes
1answer
122 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_{...
0
votes
0answers
51 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
29 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. ...
5
votes
4answers
208 views

How to extend a function by period and display it [duplicate]

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

Opacity or related issue with DensityPlot3D

I'm trying to make use of the function DensityPlot3D with the following specific example ...
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 ...
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 ...
0
votes
1answer
41 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
92 views

Selecting Edges and Corners in a Mesh

Consider the following VoronoiMesh obtained after a few iterations of Lloyd's relaxation algorithm ...
4
votes
1answer
40 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
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
3answers
70 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
44 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
57 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 ...
7
votes
2answers
73 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, ...