Stack Exchange Network

Stack Exchange network consists of 174 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.

2
votes
0answers
31 views

Export image as pdf, which is PDF/A valid

Assume following plot in Mathematica (version 11.2): ...
-1
votes
1answer
88 views

Plot Ramanujan Primes

I often investigate on Ramanujan primes. Is it possible to apply this procedure described in DotPlot for prime numbers ? I think so but which is the condition I should use? I am trying from several ...
1
vote
1answer
34 views

How do I recreate the lines and labels as seen in this image?

How do I recreate the light gray lines and labels pointing to the zeros of this function? I have no prior experience using Mathematica, so please include all code or resources. I have the list of ...
1
vote
1answer
33 views

Region plot in Log scale without affecting mesh functions

How can I do a region plot with its mesh function in Log scale? For example, ...
0
votes
3answers
57 views

Smoothing random data with MovingAverage

If I have this kind of data: ...
1
vote
1answer
64 views

plotting multiple cylinders with known co-ordinates [closed]

How can i plot say 100 cylinders inside a cube. I have their endpoints co-ordinates and diameter,height generated through c++ code. I need a graphical output ,how can i do that?
0
votes
1answer
55 views

Breaks in a LogPlot

I am trying to plot the residuals of a pde solution, using LogPlot. ...
-1
votes
0answers
25 views

Animate combined with graphic3D makes vector disappear

I am animating a point that moves along a curve. Moreover, I am also plotting three changing vectors that exit from that point and have changing length. What happens is that sometimes I encounter ...
3
votes
3answers
123 views

Plotting eigenvalue function along a path with correct coloring

This question has multiple parts to it. The setup is that I have a matrix that is a function of two parameters a and b. I wish to plot the eigenvalues of this matrix along a general path in the a-b ...
0
votes
2answers
99 views

Plotting with two variable

...
2
votes
1answer
67 views

Plotting Nested Lists

How to plot a linked list such as: ll = {{a, b}, {{c, d}, {{e, f}, {}}}} The expected result is a tree with the nodes and edges ordered as follows. The empty / ...
2
votes
1answer
42 views

List Plot of points colored by a list

I have a list of points, say a = Table[{RandomReal[1], {RandomReal[1], RandomReal[1]}}, {i, 100}] I would like to plot the 2D points in the second column, but ...
4
votes
2answers
403 views

Bessel Beam , how it is possible to plot a 3D with a 2D projection in one plot?

Sincerely, I am new in Mathematica, I checked all the previous post. The idea is to plot a 3D Bessel function with a 2D projection They can be generated as follows. ...
-1
votes
1answer
46 views

Plotting Base-vectors not working properly [closed]

I'm stuck on a issue that I can't seem to solve. After defining values for V, W and x, I'm supposed to Plot two base-vectors in the base V and with the vector x in the same picture. I'm supposed to ...
3
votes
2answers
96 views

Remove legend if a plot in an array of plots is empty

In an array of plots of regions (inequalities) p[..] which are eventually combined using Show, how do I suppress the legend of ...
0
votes
1answer
66 views

Plotting the condorcet jury theorem [closed]

I am trying to create a simple plot of the condorcet jury theorem: The function is: F[n_,i_,p_]:=((n!)/((n-i)!*i!))*((p^i) *(1-p)^(n-i)) embedded in a sum ...
1
vote
1answer
42 views

How to fix the label and a viewpoint for a 3d surface plot [closed]

I have plotted a data, now I want to label this plot, x-axis as K1, y as K2, z as b. And I also I want to fix the viewpoint, right now I am doing it manually is there means to just input the view ...
2
votes
1answer
65 views

Plot a two-set Venn diagram with proportional discs and intersection

Is it possible to plot a two-set/disc Venn diagram with proportional discs and intersection without having to use the below "trial-and-error" code? In the example below the left disc has 6 elements (...
6
votes
1answer
67 views

Change the Tooltip of DistributionChart

DistributionChart automatically puts a Tooltip on the elements of the chart, which shows the Min, 25%, Median, 75% and Max of the data. I would like to add the count of how many elements are in the ...
2
votes
1answer
50 views

Why cannot I label a date point using TimelinePlot with Manipulate?

I have tried to simplify this issue as much as I can at the moment: it looks like a bug to me but perhaps I've missed something obvious. I am trying to build an interactive scheduler using ...
2
votes
1answer
31 views

3D bar Graphs, Axes and resolution

...
0
votes
1answer
56 views

PlotRegion and colors

I have to plot about 24 different predicates using RegionPlot ...
2
votes
0answers
69 views

Slow Plotting of a Piecewise Function

I have stumbled upon an issue that seems very weird to me. I have two Piecewise functions that describe exactly the same curve. The only difference between them is that the first function has two ...
0
votes
1answer
50 views

Regarding a contour plot [closed]

I have a function $ f(x, y) = \sin x\ \cos y\ \mathrm e^{x + y} $ (just an example) such that $ x + y \le 1 $ (both $ x $ and $ y $ are positive and $ 0 < x \le 1 $ and $ 0 < y \le 1 $). I ...
0
votes
1answer
73 views

How to get Lissajous curve like the following gif [duplicate]

parameter equation $x= \sin(m t)$, $y= \sin (nt)$,(fix $m=13$, $n=18$ not to change) I need the picture show the generation of the curve.(start from one point to the final curve like you draw it ...
4
votes
3answers
71 views

How to add arrow command on a curve plot without leaving a gap?

Before I add /. Line -> Arrow, I had a continuous plot by using Joined -> True command. Why there is a small gap at the ...
2
votes
2answers
66 views

How to scale a plot in mathematica

...
0
votes
0answers
29 views

How to get the height of 3D density plot graphics

I got a file of results (0 and 1) of an experiment in many xyz points around the point (x,y,...
1
vote
0answers
33 views

Plot displaying curious result with lower resolution [closed]

I am running the following code in Mathematica: ...
0
votes
1answer
45 views

Graph of a solution for the different parameters

I want to plot for Sol for the different values of s=0,1,2. can some one guide ...
0
votes
1answer
42 views

How to change colors of 3D parametric plot

I have a 3D iterative plot, where each iteration (1,2,3) is represented by equation of piecewise linear function. I am trying to change the colors of plot, to get for every iteration (piecewise ...
3
votes
3answers
161 views

Making a spiral bubble chart

I have the following list: ...
4
votes
2answers
105 views

Is it possible to use chemical data in polymers?

I would like to plot the ABS polymer. It is made of Styrene, Acrylonitrile and 1,3 Butadine. I can plot those components separately But the command ...
2
votes
1answer
43 views

Questions about higher order Bézier Curves

I can generate the same Bézier Curve using my own code as the curve generated by Mathematica's function BezierCurve, but when I increased the order of the curve, it ...
2
votes
1answer
118 views

DotPlot for prime numbers

I was thinking to use a dotplot to give a description of prime numbers. On Wolfram website there is written that each dotplot can be built by ...
1
vote
2answers
117 views

Project ParametricPlot3D onto 2D plane

I have this ParametricPlot3D: generated by this code: ...
0
votes
0answers
17 views

Parametric Plot EPS Export Jumping Frames

Observe the following Wolfram Mathematica (11) code. Essentially I'm just creating a parametric plot with another parameter a to be varied with time and then ...
2
votes
1answer
51 views

Export Parametric Plot as PNG with no background

How do I export a ParametricPlot as a png image with no background? For example, my exported image look like this: But it has a white background. I need that white background to be a completely ...
1
vote
1answer
42 views

Create Image from DensityPlot monitor rendering problem

I want to create a large DensityPlot in a way that it outputs to a separate notebook in a second monitor attached to my computer desktop. The delivered output image ...
-1
votes
1answer
85 views

ParametricPlot problems

I have the following code: ...
0
votes
1answer
67 views

InterpolatingFunction gives different result when plot [closed]

I solve a series of ODE equations by NDSolve({t,0,200} is the region), it gives results in the form of ...
6
votes
3answers
191 views

how to generate random convex quadrilaterals using circles (actually inscribed within circles)?

I would like to generate random convex quadrilaterals using circles, my tutor has suggested to using randomreal to generate 4 numbers and scale the sum of them to 2pi, and then use trigonometry ...
2
votes
1answer
46 views

ErrorListPlot fails to display error bars

ErrorListPlot fails to display error bars for me, for example with the Example in Help ErrorListPlot[Table[{i, RandomReal[0.5]}, {i, 10}]] returns My ...
0
votes
3answers
62 views

Change numerical $ x $-axis to strings $ x $-axis

Suppose I have a plot something like this: ...
1
vote
1answer
41 views

How to represent characteristic function of a single-point set?

I am trying to find the way how to represent characteristic function of a single-point set. My idea was to write the points by set: Ainput = {{2/5, 1/4}}; ListPlot[Ainput, PlotRange -> {{0, 1},...
2
votes
1answer
52 views

Have a String of letters with different font sizes - LineLegend

There's a Plot whose legend has symbols with subscripts and regular text. The words that have subscripts appear to shrink in size and looks out of place in comparison to the rest of the legend. Was ...
5
votes
2answers
134 views

Specific part of background in a plot - outside plotting area

I need to add a rectangle to my plot that includes being behind the ticks but not the label of my graph. I know with Prologyou can add a rectangle, like with the ...
0
votes
1answer
30 views

VectorPlot not showing up after switching computers

So typed the below code into my personal computer and it worked just fine. I then moved the file to my work computer so I could look at it there, and now VectorPlot comes up blank. I am not sure if ...
2
votes
3answers
61 views

Different shades of the same colour in one plot

I want to plot several functions in one plot and have different shades of the same colour for each of the plots. Doing with different colours is easy ...
1
vote
0answers
29 views

More detail in specified region of contour plot

I have generated the following contour plot in Mathematica using a (extremely lengthy) function, $f$: I used ImagePadding -> 1, PlotRangePadding -> None to ...