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

How to remove duplicate points from a plot

I have this equation and I want to draw the contour plot. ...
0
votes
1answer
16 views

How to change the color of contour values?

I have contour plot and I want to change the font color of the contour values. meanwhile, changing the background to white. can anybody help? this is what I've found. but it only gives 9 contours, I ...
0
votes
0answers
24 views

Obtain only positive complex solutions

By setting the determinant of a matrix to 0, I obtain 6 complex solutions for w and plot them. However, You can clearly see that the negative solutions mirror the positive solutions as the solution ...
3
votes
1answer
47 views

Handling concavity in ListContourPlot

I have imported some CFD results (in csv format) into Mathematica to do some further processing of the data. One of my 2D geometries is, Now, when I try to do the contour plot, I get the following: ...
0
votes
0answers
23 views

How to change the color of a plot line (preserving its legend)?

Consider ...
1
vote
0answers
51 views

How to draw sketches of objects using lines (curves) only

Update Thanks for your comments, now I see that it's not easy to have 3D graphics in vector form. This is fine though, because the major reason that I'd like to do it in mathematica is that I'd ...
0
votes
1answer
46 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): ...
1
vote
0answers
18 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 ...
0
votes
0answers
50 views

Reproducing a Venn Diagram (w/colors + labels) in Mathematica [closed]

Does the Wolfram Programming Language allow me to reproduce the following graphic (with colors and labels of my choosing?)?
-3
votes
1answer
47 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
25 views

Logging memory/CPU usage over time?

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

Plotting a 2D grid “spectrogram” from a large .csv file

I'm aware of this question here that uses MatrixPlot to plot the spectrogram of a sound file, but it's too complicated for me to understand, unfortunately. My file ...
1
vote
2answers
93 views

Draw characteristic lines of ODE $\dot \gamma(t) = \sqrt{|\gamma(t)|}$ and highlight some of them

Consider the ODE $$\dot \gamma(t) = \sqrt{|\gamma(t)|}$$ with initial data $\gamma(0) =x_0 = -c^2$. The solutions of the ODE are not unique because one has $x(t) = -(t/2 - c)^2$ for $0 \le t \le 2c$, ...
0
votes
0answers
40 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 ...
2
votes
1answer
43 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}^{...
1
vote
2answers
44 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: ...
-2
votes
2answers
40 views

help with plotting functions in Block and ContourPlot3D

I have a question regarding Block. In Doc, Block[{x=x0,…},expr] suppose we have two functions in ...
-1
votes
0answers
30 views

Using Show to combine two plots made with DiscretePlot3D [closed]

I used DiscretePlot3D to plot my equation, but when I tried to combine two different plots into one, Show did not work. Do you ...
0
votes
1answer
49 views

How can one combine multiple DensityPlot3D plots so they are all equally visible in the final plot? [closed]

How can one combine multiple DensityPlot3D plots so they are all equally visible in the final plot? Here is an example: ...
-1
votes
0answers
47 views

Converting an image of a plot to a plot?

Does Wolfram have the ability to (attempt to) convert an image of a arbitrary plot on the web, say: to its corresponding Wolfram representation (in this case:...
0
votes
0answers
55 views

Smoothing out oscilations from data [closed]

Could anyone please help me with smoothing my data. The list plot of the data looks like this: My goal is to create a list plot without those oscillations. Preferrably with the final curve being the ...
1
vote
1answer
57 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
39 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
1answer
31 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? ...
3
votes
1answer
64 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
26 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 ...
0
votes
0answers
36 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 ...
9
votes
3answers
457 views

Density plot on the surface of a sphere

I would like to do it on the surface of a sphere instead of a plane: ...
1
vote
2answers
63 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
2answers
62 views

Selecting and plotting the solution that meets certain conditions

I have this equation of order 6, which mean there will be 6 solution of a in term of v ...
1
vote
0answers
50 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$ ...
0
votes
0answers
45 views

Raman graphs and indexing [closed]

I would like to make a plot with indexed peaks. Is it possible to do that programmatically? I want to do it to show the value of the raman shift in the plot.
0
votes
1answer
80 views

Evaluate and Plot x=x+1 [closed]

I have a function of the form x=x+dx, whereas x(z) and dx(x,z) both depend on a increasing integer. Now I would like to evaluate this function after n time steps. In addition to that I'd like to plot ...
4
votes
1answer
95 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: ...
2
votes
1answer
95 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. ...
5
votes
0answers
89 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 ...
0
votes
1answer
75 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 ...
1
vote
0answers
25 views

Changing the plotting order in Show

Is it possible to move the first plot in show to the front without changing which plot we inherit the options from? The problem is that if I want a certain plot to go in front I cannot use it to ...
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,...
2
votes
1answer
32 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 ...
0
votes
1answer
43 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 ...
0
votes
0answers
64 views

how to plot two ellipses [closed]

I plotted this ellipse ...
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 ...
2
votes
1answer
127 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 ...
0
votes
0answers
22 views

Plot cuts lower y axis [closed]

i have 3 functions and i want to show them all together. So 2 of em just have a positive y axis and my third has negative y values. ...
0
votes
0answers
29 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
35 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
52 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{...
3
votes
1answer
68 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 ...