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

learn more… | top users | synonyms (8)

3
votes
3answers
158 views

Colorize an image using two parameters

I have a matrix of data. I use Colorize[Image[Rescale[data]],ColorFunction->"Rainbow"] to create an image from the data where the value of each pixel is used ...
0
votes
0answers
55 views

Manipulate plot [duplicate]

How can one do this: ...
6
votes
3answers
323 views

Mathematica 10 ListPointPlot3D PlotTheme bug?

Bug introduced in 10.0 and fixed in 10.3 or earlier I am using Mathematica 10 to generate a 3D point plot of a crystal lattice structure. I wanted to set the ...
1
vote
2answers
171 views

Ratio of variables AxesLabel is messed up when plot exported to pdf

On the vertical axis of a Plot whenever I have a ratio of variables in a string as axes label, the exporting of the plot to PDF format messes this ratio up. Minimal working example: ...
2
votes
1answer
147 views
0
votes
0answers
41 views

Plotting the real positive solution to a parametric equation [duplicate]

I have the following parametric equation $$ x^2-a=0 $$ where $a$ is a given parameter. I would like to plot the nonnegative real root ($\sqrt{a}$) using NSolve as $a$ varies from $0$ to $1$. Can ...
1
vote
2answers
132 views

Incorporating the minimum and maximum of the function in a Dynamic plot

I'm working on my project for class and it's supposed to be a graph that can take functions from the user and display it along with finding the max and min of the graph. But I just don't know how to ...
0
votes
1answer
98 views

Plot table versus table [duplicate]

I have two tables like: nex1 = Table[l3*10^3/4*10^14, {l3, 1, 30, 1}]; nex2= Table[l4, {l4, 1, 30, 1}]; How can I plot nex1 versus nex2 so that nex1 is x axis ...
5
votes
2answers
126 views

Different results with Plot option “Evaluated” in V9 and V10

Consider this example: Plot[Table[BesselJ[n, x], {n, 2}], {x, 0, 10}, PlotLegends -> {"n=1", "n=2"}, Evaluated -> True] The results in MMA v9 & V10 ...
0
votes
0answers
81 views

Plotting Earth's position with units

I'm trying to plot the Earth position with the Sun in the origin. I have two lists like this: ...
8
votes
2answers
548 views

ListContourPlot interpolation fails if x and y axes have different scales

To summarize what is below: ListContourPlot doesn't work when the domain has different x and y scales (fails when x/y~10^4, which seems surprisingly small). Is it possible to call ListContourPlot ...
18
votes
0answers
319 views

More Ticks::ticks errors in AbsoluteOptions in v10

Bug introduced in 7.0 or earlier and persisting through 10.3 or later While the specific bug affecting Plot described in AbsoluteOptions prints error messages in ...
0
votes
0answers
102 views

Break axes on listcontourplot

I would like to insert a break on both of the axes of a ListContourPlot near the origin, to include a datapoint which has axis values quite far away from the others. The question is similar in nature ...
26
votes
3answers
2k views

Save as pdf broken in version 10.0.2?

Fixed in 10.1 It looks like the save as pdf is broken after I update to version 10.0.2. The labels in the plot become a mess. Are there ways to fix it? The ...
2
votes
2answers
153 views

How would I rotate a table of Cuboids around the y axis?

Currently I can print out this using Graphics3d: Here's the code: ...
0
votes
0answers
71 views

How to find only the negative Imaginary solutions and positive Real solutions?

Following this post Help Please : Error in plotting the solutions of FindRoot , I want to plot only the negative Imaginary solutions Wi(K)<0 and positive Real solutions Wr(K)>0. Please, how do it? ...
2
votes
2answers
130 views

How to eliminate tick marks, retaining tick labels, in ArrayPlot (and related functions)? [duplicate]

Consider the following example: ...
0
votes
1answer
70 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
2answers
189 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
218 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, ...
0
votes
1answer
122 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
415 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
146 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
115 views

Ticks option is ignored when plotting with Frame->True

Plot[Sin[x], {x, 0, 10}, Ticks -> {{{4, "Here"}}, {-1, 1}}] ...
2
votes
2answers
290 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
95 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
408 views

Missing tick in plot

Bug introduced in 10.0.1 and persisting through 10.3.0 Consider this ...
1
vote
0answers
55 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
130 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
162 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
274 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: ...
2
votes
2answers
194 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
366 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
117 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
51 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
121 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
386 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
94 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
195 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
182 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
110 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
175 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
241 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
154 views

ListContourPlot

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

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

I have a list of {x,y,z} data: ...
1
vote
1answer
102 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
83 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
175 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.$
14
votes
2answers
573 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 ...