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

learn more… | top users | synonyms (6)

2
votes
1answer
108 views

Ticks option is ignored when plotting with Frame->True

Plot[Sin[x], {x, 0, 10}, Ticks -> {{{4, "Here"}}, {-1, 1}}] ...
2
votes
2answers
206 views

Prevent axis label being cutoff

I am running into an issue whereby my Y frame label (I want to use this rather than an axis label to make the label vertical), is being cutoff when I view the graph. See below for an indicative ...
2
votes
1answer
79 views

Filling a Manipulate Plot

I am attempting to fill the part of the graph when the orange line is within the blue line. I am unable to make the fill work when the lines are under manipulation. Ultimately I would like there to be ...
7
votes
1answer
335 views

Missing tick in plot

Bug introduced in 10.0.1 and persisting through 10.2.0 Consider this ...
1
vote
0answers
52 views

Why is Plot3D applied to TransformedDistribution in 2 random variables so slow?

I am trying to plot 3D, the pdf of a TransformedDistribution made up of random variables. So I can see the pdf in 3D, similar to this answer here Visualizing a 2-dimensional PDF But it seems to take ...
1
vote
1answer
125 views

Exporting to eps loses font/symbol information?

I have already asked this question, which has helped. However, now my parenthesis are coming out as Courier "H" and "L." How do I work around this? Is there an easier way to save a plot as EPS without ...
2
votes
1answer
117 views

Exact difference between color scaling in ArrayPlot and MatrixPlot

Can someone enlighten me as to how MatrixPlot does its color scaling? I get very different visualizations based on whether I use ...
1
vote
2answers
189 views

3D Sphere Plot + Points [closed]

I'm currently trying to create a 3D plot of a sphere along with four points of different colour, using the following code: ...
0
votes
0answers
34 views

Graphing all connected, planar, and vertex transitive graphs with vertices <=10 and edges <=15

I just started using Mathematica, how would I graph all possible connected, planar, and vertex transitive graphs with vertices <=10 and edges <=15
2
votes
2answers
160 views

Projection of ListPointPlot3D on 2 axes

I am just starting to learn Mathematica and I was trying to get projection of the list of points in ListPointPlot3D. I read about ViewPoint option. It shows the axes I need but doesn't show the points ...
6
votes
1answer
332 views

How to add texture to a parametric plot?

I need to put some simple textures to some parametric plots. My textures are not complicated, They are like the first example in here. Is there any simple way of doing this? For example, How can I ...
1
vote
1answer
114 views

Mysterious behaviour of Plot

I'm a little mystified as to the behaviour of Plot. In one case below I am directly executing on a list element. In the other I am (I think) doing exactly the same thing. ...
1
vote
1answer
49 views

How to make a LogLinearPlot out of an Histogram?

I want to make a histogram with a logarithmic x-axis, like the one produced by LogLinearPlot. How can I do this?
1
vote
1answer
107 views

Simple optimization 3D plot

Because this is such a simple example I am not going to explain the calculations. I am strictly wondering why I do get errors when plotting it. ...
1
vote
1answer
288 views

3d phase portrait for a system of DEs

I'm trying to plot a phase portrait for a system of three differential equations so could anybody help? example for : ...
2
votes
2answers
90 views

How to programmatically control which plot to display with LogLinearPlot

LogLinearPlot is capable of plotting multiple functions in the same graph. ex. LogLinearPlot[{graph1[w], graph2[w]}, {w, 1, 100}] Is there a way to select ...
3
votes
4answers
179 views

How to exclude the diagonal in a MatrixPlot?

I have a matrix where the diagonal elements are meaningless. Usually I just fill them with 0, or infinities. The problem is that when I MatrixPlot this matrix, the diagonal elements affect the ...
1
vote
0answers
38 views

Problem with dashed lines in Plot, ListPlot and ListLinePlot [duplicate]

(I'm new stackexchange so I hope i'm doing this correctly). I'm struggling with dashed lines in Plot, ListPlot or ...
0
votes
0answers
105 views

4D data in 3D plotting [duplicate]

I'm trying to plot a function $f(x,y,z)=x+y+z$ in the $(x,y,z)$ space. Thus, we have 4D data $(x,y,z,\text{Value})$, which should be expressed in 3D. The value of function could be represented in ...
0
votes
1answer
83 views

Using ListVectorPlot[ ] and eliminating vectors at points where there shouldn't be any

I am trying to make a plot displaying the following type of information. I have a finite set of 2D-coordinates. For each coordinate point, I have a 2D vector associated to that point. The vector is ...
3
votes
1answer
126 views

Exporting to eps loses font information

I have seen this question before, but with no real solution. The problem is, I have a plot that uses greek characters (sigma to mark first and second standard deviations) and other symbols (e.g. ...
0
votes
1answer
147 views

Remove white space from GraphicsRow

I am trying to remove as much of the white space above and below the following image produced by: ...
2
votes
1answer
131 views

ListContourPlot

I am having some issue with ListContourPlot. When I define the following Array: ...
2
votes
0answers
109 views

Defining a hole in a 2D surface? [closed]

I have a list of {x,y,z} data: ...
1
vote
1answer
91 views

How to Create an Empty(ish) Graph to Overlay Graphs on using Show?

I hobbled together a For loop to create a series ListLinePlots and appended them to a list to display them with the Show function. My problem is I have no control over the images viewable domain and ...
0
votes
1answer
62 views

Plotting data from specific column

I have data like this: 1406998993.147 73 TCP_MISS/200 22284, 1406998993.158 109 TCP_MISS/200 83827, 1406998993.197 111 TCP_MISS/200 57020, If I want to plot the column 1 and ...
3
votes
2answers
169 views

Different between two graph in the Polar Plane

How can I plot $\theta=\cos r$ in polar plane? Of course I know that is different with $r=\cos \theta.$
12
votes
2answers
456 views

Modify existing color scheme

I am using the "TemperatureMap" color scheme for image processing. How can I set the lowest color value to Black? Generally ...
0
votes
0answers
30 views

Plotting center of mass point in a solid hemisphere? [duplicate]

I have been trying everything I can find online but I seem to be stuck trying to plot a center of mass point within a solid unit sphere with z >= 0. I have the center of mass point already but I ...
1
vote
1answer
99 views

What's wrong with this tutorial? [closed]

Disclaimer: This code is not mine. Source. I'm trying to follow along with it, though, but it seems that this code no longer produces a working manipulatable plot at the end -- and I'd like to know ...
0
votes
1answer
72 views

Specify the ratio of axis precisely [duplicate]

When I want to have equal length of the units on both x and y axis, I can use AspectRatio -> Automatic. But when I need the unit of x axis have length twice than ...
5
votes
2answers
604 views

Plotting a contour line in 2d on a 3d surface

I have a list of data which I can plot as a surface with ListPlot3D. Moreover I have a set of other surfaces and I have plotted the projection of their intersection ...
0
votes
1answer
134 views

Why this region is bad?

I want to draw a region but the result of Mathematica is not good. Why? ...
0
votes
0answers
25 views

Filling not working when function in SetDelay [duplicate]

I want to use Plot with a SetDelay. Then Filling does not work. In the following, the first works, the second does not. I would like to get the second to work: ...
0
votes
2answers
745 views

How to find volume of an egg [closed]

I am a first time user of mathematica. I've been trying to figure out how to find the volume of a) f(x)=(ax^3 + bx^2 + cx + d)sqrt(1-x^2). I have been scouring the internet for a solution on how to ...
1
vote
1answer
145 views

Plotting multiple curves on a surface

I'm reading about non-euclidean geometry, and I tried to visualize hyperboloid model of hyperbolic geometry using Mathematica. What I need to do is to accent intersections between hyperboloid $x^2 + ...
0
votes
0answers
108 views

Showing contours on top of a ListPlot3D

I have a ListPlot3D that currently has the default settings for mesh. Instead I would like to show a contour plot on the ...
3
votes
1answer
583 views

Define and plot a piecewise function with parameters [closed]

I have this function , but i do not know how to define it in mathematica \begin{equation} f_t(x)=% \begin{cases} i& \text{$\frac{1}{1+i}<|x-t|\le \frac{1}{i}$} \\ ...
3
votes
0answers
174 views

Fractals or other patterns in the quadruple linked pendulum

This will seem like a physics question, but I'm looking for something to do in Mathematica specifically. I've successfully modeled a quadruple linked pendulum by setting up the ODEs and solving them ...
1
vote
0answers
94 views

Mathematica Numeric Output [closed]

I'm using Mathematica to compute barycentric coordinates, and the output for my points is not being computed, but rather it just shows it in the form that I inputted as. For example, I have: ...
3
votes
2answers
133 views

How to change plotting options while using Map

I have multiple series, which I want to plot using ListLinePlot and Map. For example ...
2
votes
2answers
249 views

How do you create such an animated GIF via Mathematica?

Is it possible to create such kind of GIF via Mathematica?
2
votes
1answer
55 views

Order of display of AppearanceElements

I am using Animate and want the order of the controls to be ...
2
votes
2answers
125 views

ListPlot a bunch of points that changes colour

I have a list of points: r = Range[-Pi/2, Pi/2, Pi/8]; angles = (c = Tuples[r, 2]) and a list of numbers which will determine the colour of the points above: ...
0
votes
0answers
94 views

Plotting Poincare sections for a pendulum

Now before you direct me to this page, I'll start by saying that I'm not really using Hamiltonian mechanics to do this problem. I've already done the Lagrangian and I have solutions for both angles. I ...
0
votes
2answers
73 views

How to make a density plot with composed functions [closed]

I want to create a monochromatic density plot of the E-field around an optical vortex. To do this I've written ...
9
votes
3answers
240 views

Match colors to plot themes

How do I get the colors to match the plot theme when I use a PlotLegend that is separate to the plots? I have had a look at How to access new colour schemes in ...
2
votes
1answer
136 views

How do I find out what a Mathematica function is doing (which numerical method it uses and how)?

Long story short, I am working on a project which entails fixing a bug I have found in Mathematica (8 and 10). In general, I would like to know what a specific Mathematica function is actually doing ...
3
votes
2answers
192 views

Plot graphs together Using ListPlot

How can I plot two graphs together generated from ListPlot or ListLinePlot command, both t and s have the same number of elements. I thought Show would solve the problem however it does not, it just ...
2
votes
3answers
204 views

ListPlot - coloring negative and positive points

how to create a point graph(ListPlot?), where the positive values will be BLUE, negative RED and 0 values will be green? Thanks.