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

learn more… | top users | synonyms (4)

0
votes
0answers
21 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
47 views

Manipulate plot [duplicate]

How can one do this: ...
0
votes
0answers
76 views

GraphicsGrid output is incorrect - image seems compressed

I want to plot a large number of large data files but the output images are incorrect when I'm iterating over a GraphicsGrid with the Export command. ...
6
votes
2answers
148 views

Mathematica 10 ListPointPlot3D PlotTheme bug?

I am using Mathematica 10 to generate a 3D point plot of a crystal lattice structure. I wanted to set the PlotTheme to ...
1
vote
1answer
39 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: ...
0
votes
0answers
31 views

plot both parts of a two-sheeted hyperboloid [on hold]

Is it possible to plot both parts of a two-sheeted hyperboloid in one input with the following parametrization, meaning that the z-component would be plus minus ...
2
votes
1answer
102 views
0
votes
0answers
34 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
68 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
0answers
21 views

Plotting the vector field of a function [on hold]

$f(x, y) = x^2y - y^3$ In := Grad[{x^2*y - y^3}, {x, y}] Out := 2 x y, x^2 - 3 y^2 In := VectorPlot[{2* x* y, x^2 - 3 *y^2}, {x, -3, 3}, {y, -3, 3}] Do I ...
0
votes
0answers
30 views

Reverse x and y in pairs data set [on hold]

I have a list of data {{x,y}}={{2,4},{5,6},{2,1},{7,4},{3,4},{4,6}}.Mathematica automatically plots x in horizontal axis and y in vertical axis. I would like to switch axis position such that new ...
0
votes
1answer
61 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 ...
0
votes
0answers
55 views

How to plot a ternary plot? [duplicate]

Does anybody know how to plot a ternary plot (equilateral triangle)? Suppose, I have a list of lists like this (triplets): ...
0
votes
0answers
48 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: ...
0
votes
0answers
36 views

Plot function failure, and understanding how mathematica selects recursion points for correction

I think it is best to start out by directing everyone to this link. The discussion concerns why the Plot function fails to accurately generate a simple sine wave for given parameters. The answer given ...
5
votes
2answers
152 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 ...
5
votes
0answers
70 views

More Ticks::ticks errors in AbsoluteOptions in v10

Bug introduced in 10.0.0 While the specific bug affecting Plot described in AbsoluteOptions prints error messages in V10 has been fixed in 10.0.2 there remain ...
0
votes
0answers
33 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 ...
0
votes
0answers
70 views

Plotting: Is anyone familiar with field line command?

I am trying to plot this graph the electric field lines of finite line, but I do not know how to express the equations for plotting electric field lines of finite line. Can any one help? Thanks sooo ...
13
votes
0answers
349 views

Save as pdf broken in version 10.0.2?

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 Export function works ...
2
votes
2answers
94 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
50 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
60 views
0
votes
1answer
32 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
128 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
84 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
70 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
206 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 ...
-2
votes
1answer
38 views

Filling Plot of two line with graphics [closed]

I would like to see a fill within the parabola when the vertical line enters in it from right to left. Cant quite figure out how to create the fill for that. This is what I have so far Manipulate[ ...
0
votes
0answers
62 views

How to insert a time indicator on a timetable?

I am trying to insert a time indicator into my timetable. First, to import the timetable: t = Show[Import["http://timetablesource"][[3]]][[{1,2}]; I then ...
0
votes
1answer
39 views

functional plot without writing explicit expression [closed]

I have a function like f(x)=y^3+2, where f(x)=Sqrt[x^2+x+1]. Now I want to plot y as function of x without writing x explicitly in terms of y. How can I make such plot using mathematica? Thank you so ...
0
votes
1answer
48 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
80 views

Ticks option is ignored when plotting with Frame->True

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

Missing tick in plot

update Still have problem in version 10.0.2 Consider this ...
1
vote
0answers
37 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
55 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 ...
1
vote
1answer
68 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
97 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
25 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
90 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
250 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
105 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
44 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
82 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
99 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
85 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
152 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
35 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 ...