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.

0
votes
0answers
3 views

Circle packed chart/bubble chart issue

I have the following list: ...
1
vote
0answers
8 views

How do i eliminate shaking of axes?

I'm trying to plot a solution for a 3-body problem i got using NDSolve, but for some reason y axis is shaking during the demonstration. How do i get rid of it? ...
0
votes
2answers
60 views

Why are these plots not the same?

I have the following code: ...
1
vote
1answer
67 views

How can I make a frequency plot of successful trials?

I have got different files with the result of an experiment varying 2 variables. The files are in this link. Each file has 3 columns of data: the first column is the same for all the rows of the file ...
1
vote
1answer
48 views

How to update particle location with reflection in a cuboid?

Let's consider Omega= [0, x_max]*[0, y_max]*[0, z_max] the domain in which some particles move. I have a question about the update of the particles locations if ...
5
votes
1answer
50 views

Implementing GeoCallout?

Building off of a related question, I'm looking for a robust way of using Callouts for multiple locations in Geography. For example, I want to plot cities and their ...
1
vote
1answer
54 views

Smooth plot of coarsely spaced table values

In a simpler first case I plotted reasonably spaced (stability) contours by selecting a sequence of k values, ...
4
votes
0answers
59 views

How do I prevent plot range clipping errors in a pdf printout?

I am using Mathematica 11.3 on a Windows 10 computer. I plotted several data sets of mine in a ListLinePlot. While the .pdf file looks perfectly in the current Adobe Acrobat Reader DC version 2019.010....
4
votes
2answers
266 views

How to color a curve

How does one color the interior of the elongated circular region in the following figure: ContourPlot[y^2 - x (x - 1)(x - 3) == 0, {x, -2, 7}, {y, -4, 3}]
0
votes
1answer
36 views

Why is my code not giving me a graph? (finite difference method)

For a finite difference method code, I after altered it a bit for my needs. I am no longer getting errors, however I am not getting my graph to show. ...
2
votes
1answer
62 views

How can I remove extra parentheses in a plot callout?

This question is motivated by this question and its answers. Firstly, I wish to display "O(x)" instead of "x" as the callout labels. When I do this ...
2
votes
2answers
100 views

Euler's method initial value problem — how should I plot the solution?

I am given the following initial value problem: $\qquad y' = t\,e^{3\,t} -2\,y \quad 0<=t<=1,\,y(0)=0$ I am to use Euler`s method to approximate the solutions to this initial value problem. ...
4
votes
1answer
55 views

Why does this StreamPlot evaluation cause a crash/memory wipe?

For some reason, attempting to evaluate a simple StreamPlot will not only cause the StreamPlot evaluation to "fail" (although no error message is outputted), it will also completely wipe any variables ...
0
votes
2answers
74 views

Plotting a 3D piecewise function

I would like to plot the following function: ...
1
vote
0answers
72 views

Orthogonal projection of line onto plane

I have already read the post Orthogonal Projection of vector onto plane, but I have a different task. I need to make a notebook in Mathematica so that users are able to manually add parameters of an ...
0
votes
1answer
37 views

How to plot several animations from a parametric plot loop

I have a piece of code which plots parametric functions using for loops. ...
0
votes
0answers
46 views

Cannot find starting value for variable

I am trying to numerically solve and plot two coupled first-order differential equations using ParametricNDSolve over the region $(0,a)$ where $a$ is the parameter. ...
-1
votes
2answers
65 views
1
vote
1answer
66 views

Making categorical bubble charts

A while ago I made a question here on how to make a bubble charts, now I'm struggling to expand on this so here I shall make this question. Suppose we have the following list: ...
1
vote
1answer
42 views

Help with Graphics3D code — how to outline a point?

I am attempting to use the following set of code ...
5
votes
1answer
670 views

Are these expressions not equal? Mathematica output is ambiguous

The following plot indicates that the first expression equals the second. But how can I use Mathematica to show that is true: ...
10
votes
2answers
1k views

Plot of a tornado-shaped surface

What is a simple code to plot a surface shaped like a tornado? Any help is welcome.
2
votes
1answer
67 views

Is there a way to have vectors outlined in a Vector Plot?

I am using the following code to make a 3D vector plot. ...
0
votes
1answer
47 views

Why is Mathematica “de-evaluating” my expressions when I try to generate a Table?

I am attempting to plot a combination of StreamPlot and ParametricPlot that is a function of a parameter. When using Manipulate or Animate, the evaluation is slow but the graphs are outputted as ...
0
votes
1answer
29 views

Modify a parameter value while solving a partial derivative

I'm currently trying to do a sensitivity analysis on a variable R0 (as defined below). This sensitivity analysis aims to determine what impact has the variation of ...
2
votes
1answer
91 views

Problems with plot interference of two waves

I'm trying to make motion plot interference of two waves i used lines to represent amplitude and wave envelope separately. This works for the traveling waves, but no the interfering wave. i'm ...
3
votes
1answer
86 views

How do I plot a Laplace transform?

I have been looking everywhere for help on this issue and cannot find a solution that works. Here is the assignment. I have figured out how to find the Laplace transform, but I do not know how to ...
2
votes
1answer
38 views

Graphical output problem when using ParametricPlot [on hold]

I'm currently trying to see the impact of one parameter on an equation. To do so, I plot the results of my equation following against a range of values for this parameter by using ...
4
votes
2answers
137 views

Visualizing the difference curve in a 2D plot?

I have two functions $f(x,y)$ and $g(x,y)$. I wish to perform two tasks on a 2-dimensional figure: Plot the curve where each point satisfies $f(x,y)=g(x,y)$. Mark one side of the curve with red. I ...
11
votes
1answer
159 views

ContourPlot — How do I color by contour curvature?

I'm plotting the stream lines of fluid flow past a cylinder, and I would like the colors to increase with contour curvature (i.e. increase as the velocity of the flow increases. Here's a MWE that ...
0
votes
0answers
34 views

Plotting dispersion relation [closed]

Why is the second funtion dos not appear in the graph ? ...
1
vote
1answer
27 views

How do I plot a function that contains variables I have previously defined?

I am trying to plot t as a function of the variable EE which is itself included in variables I have defined. However, when I ...
3
votes
2answers
93 views

How to plot this set $M\subset\mathbb{R}^3$?

Is there a way to plot the following set with Mathematica? $M=\left\{ \left(x,y,z\right)\mid x\in\mathbb{R}\:,\:y=\left|x\right|\:,\:0\leq y<z\right\}$ I think it's suppose to look something like ...
-1
votes
1answer
70 views

Liquefying of Nitrogen & Oxygen Gaseous to Liquid Phase. Thermodynamics. How to plot solution? Solved [on hold]

Process of Liquefying of air composed of 79% Nitrogen & 21% Oxygen from Gaseous to Liquid Phases as Follows: 1) When Temperature is higher than T>83 k they both are gas. 2) at T=83 k and less ...
1
vote
1answer
42 views

How to create dynamic PlotLegends?

How to add dynamic PlotLegends to the below code? ...
0
votes
0answers
24 views

Limiting value problem with Plot3D [closed]

When running this code ...
0
votes
1answer
38 views

Difficulty in Animation of Inverted Pendulum from Interpolating Function

I was trying to model an inverted pendulum system and control it. I successfully got the plot but I'm not able to use the data to animate a graphically created inverted pendulum. Run the code serially,...
0
votes
3answers
63 views

How to extract the data points in tabular form from a 3D region plot

I want to solve an inequality e.g. RegionPlot3D[x^2 + y^2 + z^2 > 300, {x, 2, 9}, {y, 3, 10}, {z, 4, 12}] and store x, y, z...
1
vote
1answer
31 views

How to save data and show step sizes when using components and data structures of NDSolve?

In some applications, it is advantageous to access components of NDSolve. However, we could also need to observe the step size taken in the numerical integration, ...
0
votes
0answers
21 views

Acquire a single-variable function by slicing a 3d graph along a given line

Consider my Calculus 2 math problem: Given a function f[x,y]=x^2-3xy and two vectors a = {1,2} and b = {1,1}. Spanning a linear ...
1
vote
1answer
60 views

How can I add labels to a plot?

I have created five lines in a plot. Plot[Table[1 + (k - 1)*Sin[theta]^2, {k, 0, 2, 0.5}], {theta, 0, Pi/2}, PlotRange -> {{0, Pi/2}, {0, 2}}] And I want to ...
1
vote
1answer
61 views

Finding all positive roots of a transcendental equation [duplicate]

I need to find all positive roots of the following transcendental equation 2*cot(x) = 6.4*x-0.1563/x I know that the roots can be visualised as the intersecting ...
2
votes
1answer
110 views

How to Plot a transcendental function

Let me try to be a bit schematic because my own expression is a bit complicated and could be not useful for future questions. x=f[y*a[x]] My problem is how to <...
1
vote
2answers
57 views

How to make a 1D VectorPlot

I am trying to use VectorPlot to produce a 1 dimensional vector plot. I Have tried using VectorPoints->{10,1} but it produces ...
6
votes
3answers
354 views

Gantt Chart like rectangles with log scale

I need to plot something that looks like a gant chart, but are actual data ranges. These ranges need to be on a log scale. Graphics does not offer a Scalingfunction. A LogPlot with ErrorBars does not ...
0
votes
1answer
37 views

AppendTo doesn't update when interacting with PopupMenu

I'm trying to ListPlot a list calculated by the Button called "Plot" with PopupMenu linked ...
1
vote
0answers
50 views

Plot markers for ListPointPlot3D?

I suffer a little bit of color blindness, that is the reason why I always prefer to have plots with markers instead of different colors. For instance, I do not like the look of this: ...
1
vote
0answers
26 views

Low quality when copying bitmap through Context Menu

The easiest method to share your immediate MMA results to non-MMA users among your peers is to just copy the result onto an email and send it. Figure below shows a ...
1
vote
1answer
60 views

Plotting double series

I am new and hoping a warm welcome from this platform. I am trying to plot the graph of double series in one variable $$ \sum_{k=0}^{\infty} \sum_{j=0}^{\infty} C_{k,j} \exp(- 3^k 1.5^{j} x)$$ ...