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

learn more… | top users | synonyms (12)

0
votes
1answer
78 views

assign different values to the function of ContourPlot

I have a H function which describe the location of the same temperature. I can draw the function with ContourPlot. But the real value of the temperature needed to be calculated separately. I need to ...
1
vote
3answers
234 views

Only show part of a cube below an intersecting plane

I plot a cube and a plane. I just want to show the part below the plane. The code: ...
2
votes
3answers
279 views

Customizing the order of appearance of legends in PlotLegends

I have a graph with four curves and I want to custom order their appearance in the legend. In particular, in the graph below, ...
1
vote
2answers
217 views

How to find a graphical solution for extreme values using Lagrange multipliers

I need to find the maxima and minima of a function. I managed this analytically with no problem, but now I need to show in a graphic the intersection of the functions. My function is: ...
0
votes
1answer
132 views

Parametric Plotting

I am trying to make a parametric plot of the x and y displacements of a vibration problem. When trying to plot the parametric curve won't show up.
6
votes
3answers
505 views

Polar histogram

I am developing an algorithm to generate a descriptor of a 2D object based on polar histogram. suppose that we have a datalist centered in {cx,cy}. I use 36 bins where I consider 12 angles and 3 ...
0
votes
1answer
286 views

How to Plot inside a Do loop? [duplicate]

Why does this not give me any plots? It should give five plots. Do[Plot[x^n, {x, 1, 2}], {n, -2, 2}] If I remove the Plot ...
2
votes
1answer
120 views

Ticks option is ignored when plotting with Frame->True

Plot[Sin[x], {x, 0, 10}, Ticks -> {{{4, "Here"}}, {-1, 1}}] ...
2
votes
2answers
370 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
106 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 ...
8
votes
1answer
468 views

Missing tick in plot

Bug introduced in 10.0.1 and persisting through 10.3.0 Consider this ...
1
vote
1answer
136 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
199 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 ...
2
votes
2answers
220 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
395 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
118 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
53 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
133 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
515 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
96 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 ...
2
votes
3answers
150 views

Plots without axes labeling [duplicate]

I need to plot in Mathematica without labeling. For example, this code: ...
3
votes
4answers
209 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
255 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 ...
1
vote
1answer
127 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
211 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. ...
3
votes
1answer
340 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
197 views

ListContourPlot

I am having some issue with ListContourPlot. When I define the following Array: ...
1
vote
1answer
112 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
106 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
203 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.$
15
votes
2answers
703 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 ...
1
vote
1answer
83 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
925 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
140 views

Why this region is bad?

I want to draw a region but the result of Mathematica is not good. Why? ...
0
votes
0answers
27 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: ...
1
vote
1answer
208 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 + ...
4
votes
0answers
278 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 ...
3
votes
2answers
155 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
277 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
62 views

Order of display of AppearanceElements

I am using Animate and want the order of the controls to be ...
2
votes
2answers
157 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
2answers
91 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 ...
10
votes
3answers
439 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
159 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
305 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
383 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.
6
votes
1answer
160 views

What are the arguments supplied to ColorFunction in MandelbrotSetPlot?

On the document of MandelbrotSetPlot, it said: With ColorFunction->f, where f is a function, the argument of f is a real number in proportional to the number of ...
2
votes
2answers
194 views

Plot column 1 against list of columns in column 2 (ListPlot)

I want to generalize this plotting command: Show[ListLinePlot[data1[[All, {1, #}]] & /@ columnlist] which takes a table “data1”, defined as: ...
1
vote
1answer
96 views

Delineate a Subset of Values on a 3D surface plot

This is building on a question previously answered by Rahul recently. I have a particular 3D surface plot on which I wish to delineate where z (the function) is between the corresponding x value and ...