Questions on creating visualizations from functions or data using high-level constructors such as Plot, ListPlot, Histogram, etc.

learn more… | top users | synonyms (10)

4
votes
3answers
160 views

Want the colors of the point markers on a multiple-curve, joined ListPlot to match the colors of the curves

I am sure that this is rather trivial, but still I cannot find a solution. If there is already a solution here or in Mathematica's help browser, just mention the link. ...
7
votes
3answers
1k views

How does one plot a Möbius Strip?

How can I plot a Möbius strip? I tried this one, but I can't get it to work: ...
-1
votes
2answers
82 views

How to plot 1/x in the range {x,0,5}? [closed]

How do you plot 1/x in the range {x,0,5}? As at x=0, there occurs a singularity in the ...
2
votes
1answer
90 views

Plot the result of Solve for multivalued solution

I would like to plot the (most likely) multi-valued solution to an equation, as I vary one of the parameters. Here's my approach: ...
0
votes
1answer
87 views

How to plot and find the volume of a solid enclosed by surfaces? [closed]

I'm a beginner with both Mathematica and multi-variable calculus. I want to plot and find the volume of the solid enclosed by the surfaces defined by \begin{eqnarray} x^2+y^2 = & 4 \cr x-y+2z ...
0
votes
1answer
448 views

Plot a 'Power Triangle' in Mathematica

I would like to plot the 'power triangle' in Mathematica, is there a way to do it? Exactly the way it is presented in this picture from here: But I've to can change the values in the triangle ...
2
votes
3answers
369 views

Plot Two Circles and color their difference

I am trying to plot two circles with radius 1 and another with radius 9. Both are centered at $(0,-1)$. I then want to color in the distance between the circle of radius 9 and the circle of radius 1. ...
0
votes
2answers
72 views

ColorFunction still interferes with PlotLegends in Mathematica 10?

I want to draw 2 functions in the same plot and I use Show for this. I am using Mathematica 10 and I still have the problem that the legend disappears for the ...
2
votes
1answer
48 views

Labelling axes on a PolarPlot

Mathematica doesn't seem to be able to label axes properly on a PolarPlot or PolarListPlot. See for instance: ...
1
vote
1answer
113 views

Put error bars in specified plots spots in a graph?

Hello again i have the next problem: i have done a very nice graph and i need to incorporate the standard deviation on graph but i only need to put those error bars in just some plots on the graphic ...
1
vote
2answers
121 views

How to rescale the independent variable? [closed]

I use NDSolve to solve several differential equations (same equation, but different defined constants) and then to plot the results. The dependent variable in my ...
0
votes
1answer
80 views

Plotting a partial sum (Fourier Series) [closed]

This is what I'd like to plot: ...
2
votes
3answers
226 views

“Unstable” solution of a system of two coupled first order ordinary differential equation

Sorry for the long post. Maybe some of you will read the first few lines and already figure out what's going on, but in case it's not the case, I wanted to give as many details as possible. I came ...
3
votes
1answer
85 views

PlotLegend reduces plot quality

I have used of these lines to plot three functions (in the first plotted figure) and I used of PlotLegend for them to be recognized. In the second plot I have used of all written for the first plot ...
2
votes
2answers
121 views

Using color gradients in Graphics3D

I would like to use the thermometer color gradient in Graphics3D. Taking an example, I have the following: ...
0
votes
1answer
158 views

ListContourPlot - data display range

Defining contours in ListContourPlot seems to work well when the data plotted increases/decreases linearly. Exponential increases (e.g. sharp mountain peak in the center of a slightly changing, ...
2
votes
2answers
186 views

Plot of the Mod of NDSolve solutions sometimes connects discontinuous jumps

UPDATE: The answers given are informative, and provide a workaround which has been given in other posts, but is unfortunately not very efficient. There still seems to be a lack of deeper understanding ...
13
votes
1answer
189 views

Plotting an additional axis with ticks

When preparing non-standard graphs, it is common that one needs an "extra" axis, parallel but displaced from a traditional axis. This might happen in many cases: When you want to plot two curves ...
2
votes
2answers
110 views

How to use GraphicsGrid with ListPlots that have a PlotLegend?

Here's a contrived example of what I'm trying to do. Basically, I want a function to return some object that has two plots next to each other (or one on top of the other), both large, and both with ...
1
vote
3answers
117 views

Combining Plots of functions with overlapping domains

I have a function ...
0
votes
2answers
172 views

how to use a ready function in your code for panning and zooming on 2D plots? [duplicate]

As I said before for the time being, I don't want to use Mathematica as a programming tool. I'm just using it as a calculater to compute integrals, solve equations, ...
2
votes
1answer
117 views

Controlling the plot style when multiple curves appear in a single plot

To plot two lines in black on same plot, I specified PlotStyle -> {{Dashing[Large], Black}, {Dashing[Medium], Black}} Is it possible be more concise? To ...
17
votes
1answer
464 views

Import and Plot Git Commit History

What might be the easiest to import and plot all commit history for a github project? I'm looking for something similar to the following.
0
votes
1answer
120 views

How to plot an arbitrary function in mathematica [duplicate]

I have plotted and manipulated the Von Mises Distribution as follows: Then I want to change the function of the distribution a bit Because I want its function be as: ...
4
votes
2answers
177 views

How to remove black edges between spherical shell?

I am interested to know how to make the concentric shell smoother. This is what I have now: This is the code i used to generate that image: ...
4
votes
3answers
149 views

How to plot slices of a surface of an iterative function parametrized by the iterator k?

I am trying to plot a surface of $$z=\sin^{(k)}(x),\text{where (k) means nesting the function k times}$$ to visualise the fixed points and their neighbourhood to visually analyse their behaviour. ...
2
votes
1answer
113 views

Cannot get plot of polynomial (x^2 + y^2 + z^2 - 4)^2 == 0 from ContourPlot3D [closed]

I'm trying to make a 3D contour plot the polynomial equation $$(x^2 + y^2 + z^2 - 4)^2 == 0, \quad \quad (1)$$ Without power 2 $$ (x^2 + y^2 + z^2 - 4) == 0, \quad \quad (2)$$ it plots a ...
0
votes
2answers
166 views

Axes labels as multiples of $\pi$

I have a list as containing seven elements: ...
0
votes
2answers
112 views

How do I put a data point in a 3D graph? I need it in (0,0,1) [closed]

This is what I have now ...
1
vote
1answer
203 views

Plotting a Taylor series of Partial sum

Hi people, I want to plot the partial sum from n=0 to n =6 with the given function f about the point a=0 (just the maclaurin series). Unfortunately, I am unable to make sense of the issue M'tica is ...
0
votes
2answers
167 views

Parametric Region Plot

I tried to find solution in a few discussions but I couldn't solve my problem because my knowledge is basic. I have the following functions and parameters: ...
1
vote
1answer
48 views

Trying to adjust the numbers for the horizontal axis of a plot [closed]

I have some data (32 points) which corresponds to elements along an artificial transmission line of a fixed distance. The plot in its current form is shown below: What I am trying to do is make the ...
0
votes
1answer
119 views

How to plot zeros of confluent hypergeometric function

I am fairly new to mathematica so I need a little bit of help. I need to plot the zeros of an equation containing confluent hypergeometric functions. The equation i need to solve is given by the ...
1
vote
2answers
117 views

Plotting mixing entropy [closed]

Hello I am attempting to write a code for plotting mixing entropy. My graph will not show up. Please give guidance of how to fix my problem. ...
7
votes
4answers
616 views

How do you find the self-intersection points of a single parametric trigonometric function? [duplicate]

How do you use Solve or FindRoot or other Mathematica functions to find the points at which the graph of ${\bf a}(t) = 3 \cos ...
10
votes
2answers
319 views

Recovering data from an existing plot

I have some plots in an old Mathematica notebook that I'd like to re-create in Matplotlib (for stylistic consistency with the rest of the plots in my thesis). Unfortunately, I've lost the data that I ...
2
votes
1answer
65 views

Why is there a vertical line inside the frame? [closed]

I would like to present two similar codes here. The first one returns a graph with a vertical line inside the frame,but the second one doesn't. ...
1
vote
1answer
36 views

BubbleChart ignores Ticks option [closed]

BubbleChart does not display ticks to the Ticks option specs. ...
0
votes
1answer
43 views

plot with horizontal similar specified markers

I have a data as: ...
3
votes
3answers
269 views

What is a good way to display many discrete probability distributions on the same plot in Mathematica?

For something like 2 to 30 distributions each with 2 to 30 values. If we assume the distributions have unique values, a standard stacked bar chart is insufficient, but maybe something similar would ...
5
votes
4answers
232 views

error with NIntegrate and RegionPlot

Bug introduced in 10.2 or earlier and persisting through 10.2 or later Here's a simplified example of what I'm trying to do: ...
7
votes
3answers
355 views

How to do this type of percentual stacked plot in Mathematica?

I have data of letter occurrences in different positions. I want to plot the frequency of each letter in each position. The type of plot I have in mind is as follows: How can I do this in ...
1
vote
1answer
60 views

How to make Which not connect its parts? [closed]

I've noticed that when "Mod" and "Which" are used to the same effect, they plot to slightly different results. Take the following example: ...
6
votes
2answers
132 views

Label intersection points of several curves

I'm trying to label all intersection points between 2 functions and a 3rd one in a Plot by using Kuba's second solution from here , but I'm not getting the expected result: there are additional, wrong ...
20
votes
2answers
353 views

Spacing out random walks so they don't overlap

From an external simulation program, I have lots of particle tracks which follow random walks, all of which start at or near the origin $(0,0)$. This means that when I plot the walks in Mathematica, ...
3
votes
1answer
73 views

WorkingPrecision in a sum

If I am interested in getting a fairly precise plot of f2 below, can I use WorkingPrecision to do this? ...
0
votes
0answers
32 views

Plotting data based on a specific property of its elements [duplicate]

Now I need to plot a series of points witch have the form like {{x1,y1,z1},{x2,y2,z2},...,{xn,yn,zn}},and the weightage of the ...
5
votes
1answer
142 views

How to plot multi-colored regions separated by InterpolatingFunction on sphere

I would like to plot a sphere with multi-colored regions separated by solutions of a differential equation (no explicit expression is available for the separating curves). The result I am after would ...
2
votes
4answers
122 views

Lattice lines with integer coordinates in 3D plot

I would like to draw a surface in a 3D plot together with gridlines (horizontal lines and vertical lines) parallel to x y z axes with integer coordinates. Of course not only on faces, but also inside ...
1
vote
1answer
140 views

Draw a point on a curve or surface; also draw a line in 3D plot?

I would like to draw a point on a curve or on a surface. For example, I would like to plot the point $(1,1,\sqrt{2})$ with a special color. ...