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.

0
votes
0answers
36 views

How to get a “smoother” curve for a “discrete”-type curve?

A very interesting problem from here. I got the algebra in less than a minute with all 6 solutions (integers). But was puzzled a bit that the graph only gives 4. As now I have waken up and tried it ...
4
votes
2answers
60 views

Speeding up RegionPlot for iterated function system fractals

This is my first post here, I have the following basic code for drawing an iterated function system fractal. It works to the third step, but then for the fourth iteration it freezes my old MacBook. I ...
1
vote
1answer
38 views

Adding a label to an Epilog line

I have the following code: ...
0
votes
0answers
80 views

On the distribution of PIPs and Ramanuajn primes in Ulam's spiral

The Ulam's spiral represents the prime numbers by spiral. The code provided by Wolfram Mathematica is easy and given by ...
4
votes
2answers
161 views

Rainbow on a curve

Writing: ...
0
votes
0answers
13 views

Break in column legend [duplicate]

and Happy New Year to everyone. When I construct a pie chart grid, the legend (common to all charts) is placed as a column. Unfortunately, it "breaks" in two parts with no obvious (to me) reason. I ...
0
votes
1answer
48 views

Solving system of equations for coordinates

This is my first time here, so let me know if there's something I need to add to the post etc. Anyway, I need some help with Mathematica and linear algebra, and I got some tips that this would be the ...
17
votes
4answers
401 views

Reproducing the XKCD “Consensus New Year” plot

This xkcd strip for December 31, 2018 had the following plot: How may I use CountryData with DateListPlot (or other related ...
1
vote
1answer
41 views

Inverting the order of a Table - Prime numbers

In a previous post I asked for the possibility to have a binary image of the coprimality inside the natural numbers. The following code ...
0
votes
1answer
55 views

Sliding a tangent along a curve [duplicate]

I am having a difficult time making my Manipulate show what I want in the CDF player. I want to show a tangent sliding along any curve ...
2
votes
0answers
29 views

Export image as pdf, which is PDF/A valid

Assume following plot in Mathematica (version 11.2): ...
0
votes
0answers
24 views

How to get rid of Set::write error [closed]

I am having some issues generating a graph, and I believe it is because my equations are not coming out right. When I look at what I have for Omegaefftilde, an error pops up, and then, for the two ...
-1
votes
1answer
86 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
33 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
24 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
122 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
97 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
401 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
95 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
65 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
64 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
49 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
30 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
66 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
32 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
40 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
160 views

Making a spiral bubble chart

I have the following list: ...
4
votes
2answers
103 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
42 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
117 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
116 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
49 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 ...