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

Solving and plotting derivative included function

Please suggest a method that I can use to solve (for y(x) and y'(x)) and plot the derivative related given function. Note: L may be vary): ...
-3
votes
1answer
51 views

How to reproduce this plot of an exponential? [closed]

How do I reproduce the gist of the following plot in Mathematica?
1
vote
0answers
19 views

How can I toggle display of individual items in a Show list? [duplicate]

I have several ListLinePlot features I'm overlaying on one image using Show. I'm using the Manipulate function to turn on one at a time, but I'd like to be able to use Manipulate to toggle the ...
1
vote
0answers
27 views

Logging memory/CPU usage over time? [closed]

Can one use Mathemematica to target some currently running (Linux) application, say with pid, and to plot (say ListLinePlot?) ...
0
votes
0answers
41 views

Add cross as graphic instead of a point [duplicate]

How do I add a cross, (say + shape or x) as a graphic to a plot in a similar way as I would add a point using Point. Existing solutions (https://mathematica.stackexchange.com/a/155162/45020) seem to ...
1
vote
2answers
46 views

ListPointPlot3D with point color from a second list

I want to plot a 3D coordinates list while specifying each plot point a specific color taken from a color list. Example: ...
3
votes
1answer
55 views

How I can plot the first terms of Taylor series arround $x=0$ of the below given function in the form of integrand?

I have tried to plot the first term of taylor expansion of the below function but I didn't come up to the plot . Any help , Where is the problem in my code ? The Function is : $$I(x)=\int_{-\infty}^{...
0
votes
2answers
174 views

Finding a numerical solution and plotting it over a wide range

My problem is that I am trying to find a Numerical solution to a function of the form f(x,c)== K for x for some given values of c, K, and plot this function over a wide range of values of c. My ...
3
votes
1answer
132 views

How to solve a matrix PDE and stop solving when solution becomes singular?

My question consists of two parts: How do I get mathematica to solve a PDE Matrix system and plot the result? See below for the PDE matrix system. (By plot the result I mean plot the region ...
3
votes
1answer
75 views

Finding line that each n value is on

This code produces straight lines, I'd like to find which n values are on which of the lines: ...
1
vote
1answer
58 views

Plotting error from Einstein-Podolsky-Rosen paradox plot [closed]

I am very new to Mathematica, so I might be doing something dumb here. I'm trying to make a graph of the following code and it keeps on giving me an error ...
3
votes
0answers
40 views

StreamPlot hangs if streamPoints are outside the range specified

Is this a know issue? The following MWE works and gives plot immediately ...
1
vote
2answers
71 views

How can I fix an Inset plot to the top right corner of the main plot?

I want to export multiple plots and always have a small picture of another plot in the top right corner (as there is no data of the main plot in this region). However, it would be nice if I didn't ...
1
vote
1answer
36 views

Extra white line in densityplot's output

How can I remove the white line in $y=0$? This is my code: ...
1
vote
1answer
43 views

Plotting solution of an integral

I have used below code to plot the solution of an integral, but the code doesn't return anything. Could somebody please help me in this regard? ...
1
vote
1answer
29 views

Tick label rotation does not work with log scale?

I have the following example code that produces a contour plot with logarithmic scales. I now want to rotate the x-axis labels, since they are overlapping. I found a solution on the internet, but it ...
1
vote
2answers
65 views

Selecting and plotting the solution that meets certain conditions [closed]

I have this equation of order 6, which mean there will be 6 solution of a in term of v ...
0
votes
0answers
40 views

Importing text file to plot animation in 1D

I have .txt file with data that I want import into mathematica and then create a 1D animation/simulation of 3 curves. The format of the ...
1
vote
0answers
54 views

Getting NSum to go to the right depth in recursive definitions

I wanted to produce some plots of the action of the Gauss shift map on cumulative distribution functions. This means I wanted to plot functions $F_n(x)$, for $0 \leq x \leq 1$, defined by $F_1(x) = x$ ...
2
votes
1answer
96 views

Help in finding a good guesses for ode

This problem solved in 1 by @bbgodfrey. However, when I changed the parameters, the ode becomes very stiff and I did not know which best guess I need to use for y0. ...
4
votes
1answer
98 views

mimic a image frame

When I read a paper, I found a image just like following: I don't care about the real curve functions, I only want drawing like it. So I try to coding: ...
3
votes
1answer
91 views

How to Plot several functions using differents colors , It is possible to use TeX or MathSymbols?

The question is to plot several functions with different colors. Using a Table, which contains important information into it. You can see in the example above three functions with different values ...
36
votes
3answers
11k views

Logarithmic scale in a DensityPlot and its legend

I was recently faced with the task of creating a DensityPlot with a logarithmic colour scale, and with providing it with an appropriate legend. Since I could not find any resources to this effect on ...
0
votes
1answer
661 views

Fourier Transform plot of a piecewise function

I'm working with financial data. I used "Find Formula" to find an approximate function and then I applied FourierTransform to it. Here are the function and the Fourier Transform: ...
0
votes
1answer
49 views

plot a performance envelope (changable ellipse) [closed]

I am learning by myself to use Mathematica. I am quite new actually. I'd like to plot something that resembles the picture below, but here's the thing, I want to know if there is a possibility to ...
0
votes
1answer
81 views

How can I show multiple PDFs derived from my distribution in one plot

My question is related to the This question. I want to plot different PDFs for a given random variable in the same plot using f[x_NumericQ]. For example, I have ...
5
votes
0answers
98 views

Visualizing the Riemann's mapping theorem [closed]

The Riemann's mapping theorem allows to map any simply-connected domain in the complex plane $\mathbb{C}$ conformal onto the open unit disk. Conformal is meaning preserving angles. This is a complete ...
2
votes
1answer
33 views

How to use DensityPlot in polar cordinate for a range of raduises

I want to show values of a function $f[r,t]$ using DensityPlot but I don't know how to show the function only fo $r>1$. Could somebody please help me? I have written the below code, but I don't ...
1
vote
0answers
24 views

How can I plot a ridgeline or joyplot in Mathematica? [duplicate]

Is there a possible way to create a joyplot or ridgeline plot with some existing functionality in Mathematica (12.0 version)? By joyplot, I mean a vertically stacked set of aligned x-y-plots that show,...
0
votes
1answer
44 views

How to use list of rules from solve to plot complex solutions?

I'm trying to find the frequency for three circular particles connected in a circle with different spring constants and different masses. After deriving the equations of motion, I get three complex ...
2
votes
2answers
91 views

Manipulate and ParametricNDSolve

EDIT: typo spotted in comments, code reposted with fix as well as new behavior I'm having trouble getting mathematica to give me a working plot. I've defined specific values for my parameters: ...
0
votes
0answers
66 views

ListPlot3D introducing artifacts into surface

I solved a set of cubic polynomials and got a set of discrete points for plotting a 3D surface. Using ListPlot3D, I got the surface; but somehow, the plot has extra ...
1
vote
2answers
87 views

How to plot a sequence of complex numbers?

I want to plot the complex sequence of numbers $(1/(1 + I))^n$ so that I can roughly see divergence/convergence. I tried DiscretePlot but doesn't seem to work.
1
vote
2answers
251 views

Need help in plotting a function with two variables in ODE

The solution of this ODE was given in this link Here I am asking, if L is a function of tot, g, Z and ...
3
votes
1answer
71 views

Getting the $x$ values to generate a list plot for a given function

I want to plot a function with points and lines. I have to use ListPlot to make the plot. Now, I have no problem getting the $y$ values, but the $x$ values are ...
0
votes
0answers
36 views

AceFem keeps crashing immediately after plotting

I hope everybody is having a great day/night. I have generated an element on AceGen in which now I am running an analysis on through AceFem. Upon the evaluation of the AceFem notebook, the plot runs ...
0
votes
1answer
37 views

Issue with Manipulate[Plot3D[]] in Mathematica 12.0 Student Edition

I am a beginner with Mathematica and have only used it for about two months now so I may be missing something important. I am having problems with Manipulate[Plot3D[args]] where the args are intended ...
0
votes
0answers
59 views

Recreational Math: Plots of “Roman Numerals”

I have been trying to solve a recreational math problem using Mathematica. Specifically, I am trying to plot the vanishing set $V_k := \{(x,y): F(x,y,k)=0\}$ for the family of functions \begin{...
-1
votes
1answer
82 views

Plot of falling body [closed]

I'm new into Mathematica and I need to help with animated plot of falling body: Including mass of the body and the force of air resistance $F = -k*v(t)$, slowing down the body with positive contant k,...
8
votes
2answers
170 views

TimeLinePlot tooltip shows Day rather than Year

Update 2019-11-28 WRI has confirmed that this is a bug. Update 2019-11-25 The workaround suggested by @alx works if all of the dates have the same granularity. While experimenting with the ...
1
vote
0answers
191 views

Slicing poincare section

Let ...
2
votes
2answers
95 views

Different result from utilizing of eigenvalues and eigenvectors commands

I have a matrix as a function of a parameter like ...
0
votes
0answers
44 views

Take part from plot

I want to get the line from plot. Then I use Plot[Sin[x], {x, 0, 1}, MaxRecursion -> 1][[1, 1, 1, 3]] I get somthing. But when I use ...
1
vote
1answer
93 views

Use Mathematica to plot the flow of an ODE with discontinuity

How can I use Mathematica to plot the flow of the following ODE in $\mathbb R$? $$\frac{d}{dt} X(t,x) = \chi_{\{x>0\}}(X(t,x)), t \in [0,T],$$ $X(0,x) = x, x \in \mathbb R$ where $\chi$ denotes ...
3
votes
3answers
192 views

Extracting solutions from ContourPlot

I am dealing with a complicated equation,involving trigonometric expressions, and I would like to solve it numerically (I gave up trying to obtain a closed form solution). The equation: ...
3
votes
1answer
130 views

How to make a discontinuous function a continuous function?

I want to make function a[t] a continuous which has indeterminate form at some points. ...
0
votes
1answer
52 views

How do I split up a list of data points into invervals and assign values to those intervals?

So I have a data set for chess and our goal is to plot the difference between the rating difference versus white's win rate. I want to subdivide the x-axis into intervals like (-10, 0) (10,20) (20,30)...
0
votes
0answers
29 views

Error in variable trying to perform SlicedVectorPlot

I have been trying to plot the normal vector over the Mobius Strip, which I know I cannot do asking it to be a well-defined continuous map, nevertheless you can do it in a small region, which I am ...
0
votes
1answer
87 views

Plot function is showing a wrong result

I'm trying to plot this function, but probably since the numbers are really small it shows a fake plot in log log scale. Is there a way to solve this problem? ...