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

learn more… | top users | synonyms (4)

1
vote
2answers
43 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 ...
1
vote
1answer
33 views

Derivative of a plot

I plotted a graph numerically, so there is no information of a function of the graph. Now i want to plot the derivative of this graph. Is there any way to do it in mathematica? I have the following ...
1
vote
1answer
41 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
78 views

GraphicsGrid output is incorrect - image seems compressed [on hold]

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. ...
3
votes
1answer
148 views

How to draw multi curves in a graph with errorbars

The curves are composed by several 2*n nested lists. I want these curves be placed in a 3d way, like the xy plane is for the data, different curves are located in several parallel xy planes with ...
6
votes
2answers
156 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 ...
0
votes
0answers
47 views
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 ...
1
vote
2answers
70 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
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 ...
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 ...
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
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): ...
2
votes
2answers
120 views

Bug in ListVectorPlot?

Trying to evaluate the following expression kills my kernel (Mathematica 8.0.0.0): ...
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: ...
5
votes
2answers
153 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 ...
26
votes
2answers
3k views

Placing a ContourPlot under a Plot3D

I would like to combine a 3-dimensional graph of a function with its 2-dimensional contour-plot underneath it in a professional way. But I have no idea how to start. I have a three of these I would ...
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 ...
2
votes
2answers
142 views

Speed up ContourPlot

I created the following code, but the contours are drawn slowly with the movement of the slider, could you advise me how I should optimize the code? ...
0
votes
2answers
155 views

Help Please : Error in plotting the solutions of FindRoot

I want to find the roots of an equation using FindRoot as a function of a real parameter K and then plot the real and imaginary solutions vs. the parameter K. The function I'm trying to find the ...
19
votes
5answers
2k views

Plotting several functions

I'd like to plot a function of one real and one integer variable, but I don't want them all shown in the same 2-D plot - I'd like to see them as separate curves so I can see both 'axes', more like ...
3
votes
1answer
103 views

Constructing primitive cell using information from ChemicalData

I would like to construct a primitive cell (figure shown) and possibly the two-dimensional layout (figure from http://en.wikipedia.org/wiki/Transition_metal_dichalcogenide_monolayers) using the ...
13
votes
0answers
355 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 ...
5
votes
0answers
71 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 ...
9
votes
2answers
175 views

Glitch in Filling?

Bug introduced in 8.0 and persisting through 10.0.2 or later I ran into a problem while plotting and I was able to narrow it to this. Before I start "spelunking" I'd like to know if I am ...
2
votes
1answer
127 views

Missing tick in plot

update Still have problem in version 10.0.2 Consider this ...
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 ...
2
votes
4answers
2k views

Plotting a large number of data points

I would like to know how to plot when I have a large number of points (arround 600) in a specific format: ...
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
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 ...
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
1answer
122 views

Package for nonlinear plot coordinates

Is there a package for plotting in nonlinear coordinates? I mean that I provide coordinate transformation functions {xi(x,y), eta(x,y)}, for example ...
10
votes
1answer
591 views

Creating a Mathieu stability diagram

I am attempting to re-create a Mathieu stability diagram like the one shown here: I expected that I could use MathieuC to generate this graph by assuming that ...
11
votes
2answers
436 views

Why PlotStyle->Dashed make everything dashed?

Bug introduced in 10.0.1 and fixed in 10.0.2 -- appears to affect Linux only. It has been really strange for me. I am not sure it's regression after v10.0.1, or something went wrong with my system. ...
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 ...
11
votes
4answers
424 views

How to remove ticks?

I wanted to remove the Ticks in my coding but i can't. Here when i try to remove the Ticks the number also gone. I need numbers ...
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: ...
1
vote
1answer
56 views

Place legend without border above the plot

I use Mathematica 7.0 and as far as I know, there is not method PlotLegends, only PlotLegend. I want to set my legend - without background, shadow and frame - above my plot, as in the example belowe: ...
12
votes
2answers
353 views

PlotMarkers problem in ErrorListPlot, Mathematica 10

fixed in 10.0.2 I recently upgraded to Mathematica 10, very excited about the multiple undo function of course. However I very quickly noticed that if I specify a setting for ...
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.
1
vote
2answers
159 views

geometric construct in GeoRegionValuePlot doesn't work?

As stated in the documentation of GeoRegionValuePlot: The reg can be Entity objects such as countries corresponding to extended geographic regions, or geometric ...
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}}] ...
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 ...
-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
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 ...