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
2answers
107 views

How to do this 3D grid drawing?

The idea is to make axes 3d, with a more subdued in black mesh, and shafts with their respective numbers with a maximum of 10 in each (black to print after the size of half a sheet craft, vine also ...
0
votes
1answer
35 views

Probems using 2 For and a AppendTo to cycle through my Equation to solve some matrixes

I am trying to solve a few problems here. I have an equation with multiple variables that I am trying to solve in For loop method. I will attach the file below. In addition I am trying to get it to ...
2
votes
2answers
52 views

Slow evaluation of Recurrence plot data from NDSolve: Performance Tuning

I am trying to use a recurrence plot to pinpoint the location when a system re-visits a previous point in its phase portrait. The system (a thin liquid film) is governed by a non-linear differential ...
0
votes
0answers
21 views

VectorPlot3D in cylindrical coordinates

I am using VectorPlot3D to plot fluid flows (in the form of a velocity field), however, I go through quite an involved process to convert flows in Cylindrical ...
2
votes
2answers
42 views

How can I draw ternary plot by these data?

I have these data and want to draw similar fifures in mathematica. any one can help me? ...
3
votes
3answers
173 views

Why is my ListPlot rounding up fractions?

I'm trying to create a ListPlot that compares a country's poverty fraction with its cellular phone fraction. I'm using this to create the table. ...
13
votes
4answers
548 views

Impose the color for one discrete value above a color predefined gradient

If I plot an array with option ColorFunction -> "Rainbow": ...
0
votes
1answer
43 views

Putting plots and graphs on a word document [duplicate]

Is there a way to copy and paste or save an image of a graph into a word document?
-2
votes
2answers
116 views

Create a filled ListPlot, where the points in the list come from within the regions rather than from the region boundaries

Is it possible to fill, color, under the points in ListPlot where the points define the area and the boundary? Assuming that the number of points are large enough ...
2
votes
1answer
232 views

Trace of intersecting planes

I have a set of curved planes that intersect each other. I only want all the parts of all planes displayed that are above the intersecting traces. Further, I would like to highlight the intersecting ...
1
vote
2answers
38 views

How to plot data with different colors (or symbols) depending on a condition [duplicate]

Let's consider a simple example. I want to plot a function on [0;2], depending on a condition: if x<1, I want to plot ...
44
votes
6answers
10k views

How do I plot coordinates (latitude and longitude pairs) on a geographic map?

I'm attempting for the first time to create a map within Mathematica. In particular, I would like to take an output of points and plot them according to their lat/long values over a geographic map. I ...
0
votes
1answer
145 views

Background of PlotMarkers

I use the StandardReport style sheet in my notebooks, but I would like to export plots without any backgrounds. Apparently, there isn't a global option to change the background on a plot, so I change ...
0
votes
1answer
106 views

My plot is cut off if a frametick is “0” but resized if a frametick is “0.” Why?

I have been trying to customize the frame ticks and frame label around a certain contour plot and am running into very strange behavior where the graphics will get cut off by ...
3
votes
3answers
122 views

How do we draw some auxiliary lines for typical values of the function in a 2D Plot?

I want to draw some auxiliary lines for typical values of the function in my graph like these blue dashed lines: Also, I want to put the values of the lines by the lines like above one. Do you know ...
0
votes
1answer
77 views

Good looking small plots

Is there a way to make Mathematica adjust the amount of visual clutter (ticks, tick size, linewidth) depending on ImageSize? Long version: I would like to include plots from Mathematica in a LaTeX ...
0
votes
1answer
43 views

How to display all the squares I draw in the regionplot

the RT1 is a matrix of squares in different location. I draw 25 squares, but some of them can not displayed. I guess because the square is to little to display in this big region{{x,-15,15},{y,-15,15}}...
0
votes
1answer
45 views

LogLogplot of an equation

i need some help using LogLogPlot for graphing an equation that has various values of a parameter so that I get a set of curves on the plot. The equation is as follows: ...
-2
votes
0answers
24 views

List Contour Plot neglect the lower number of events

I have data in which the maximum number of events are concentrated in small region at the center of the figure and other lower number of events are extended to large distances from the center of the ...
1
vote
1answer
52 views

Creating a Dynamic Time Index Slider for List Animate Plot

I am trying to create an animation using ListPlot, which has worked, but I want to be able to see how time is changing (i.e. its dynamic value) as the animation runs. Here is my normal List Plot ...
2
votes
3answers
790 views

draw part of parabola using graphics

today I was doing my physics homework. one of the questions was draw velocity-time and position-time graphs from the acceleration-time graph. So for the first step I draw acceleration-time using ...
1
vote
1answer
58 views

ParametricPlot3D shows an empty box

I'm trying to visualize numerical solution of 4 differential equations (these are the coordinates of a wave function in a quantum mechanical system): ...
1
vote
1answer
38 views
1
vote
2answers
124 views

How to loop over a varible while plotting a function

Suppose three functions : k1[s_, d_,m_] := 3 s + 5 d + m k2[s_, d_] := 5 s - 7 d k3[s_, d_,m_] := s + d - m How to add the following code to plot conditional <...
2
votes
2answers
69 views

Manipulate Plot Sliders Not Working [duplicate]

I'm trying to use Manipulate on my function so that I can adjust parameters a, r, and ...
14
votes
2answers
670 views

Pulsed NMR animation

I'm new here and have never interacted with the community so excuse me if this has been asked before or if I format incorrectly or anything like that. Anyway, I'm trying to make an animation for a ...
1
vote
1answer
62 views

Problems with Subsuperscript and Subscript Combination

I have a 3D figure, not important what it is, and I have the following code for the Z axis of this figure: ...
10
votes
0answers
106 views

ErrorListPlot ignores some exact data points

Possible bug? Or am I missing something / expecting too much? Forgive the seemingly obscure data points but they're where I've noticed a problem. ...
2
votes
0answers
78 views

ListPolarPlot goes crazy when PolarAxes->True

Bug introduced in 9.0 and fixed in 9.0.1 I think I am experiencing the same/similar problems as this user. Mathematica Version: 9.0 for Mac OS X x86 (64-bit) (November 20, 2012) Computer: Mac OS ...
1
vote
2answers
82 views

Selecting and plotting points belonging to a region from a random sample

I'm facing a problem with RandomReal when using ListPlot to plot some constrained points. I found that at every run of MA kernel ...
-1
votes
1answer
105 views

Why this code gives different output for differents runs

Edit Here is my code to plot many constrained variables in (x,y) plan : the variables are : ...
0
votes
4answers
2k views

How can I make a Plot over a discrete set of domain points?

I want to plot the function $y=2^x$ at the $x$-values given by Table[Prime[n], {n,20}] How should I write the plot function? Like so? ...
0
votes
3answers
56 views

plotting difference intervals of two vectors

IF $a=\{2,6,8,18,20,24,26\}$ and $b=\{0,5,3,10,15,21,25\}$. I want the interval of the pairwise differences, that is, [0,2], [5,6], etc showing by lines in plots. I don't know the command for it. I ...
1
vote
3answers
33 views

plotting a two variable real valued function with domain given in vector format or discrete

I have a function $g(x,y)= -2x+5y$ and vector $ a=\{0,2,6,8,18,20,24,26\} $. I want to plot a $ g(1,a) $ but i don't know how to plot it? I use following commands: ...
2
votes
2answers
73 views

How can I plot a function defined as a derivative of another function?

How can I plot a function defined as a derivative of another function? For example, y[x_] := Sin[x] y1[x_] := D[y[x], x] Plot[y1[x], {x, 0, 2 Pi}] doesn't ...
1
vote
0answers
95 views

How to graph the contour of a resulting Manipulate curve

The following code is a modified version of the original: ...
0
votes
0answers
53 views

How to get smoother curves when plotting with mathematica 8.0?

Using the following line of code, I am trying to plot a few curves side-by-side. However, it turns out that the output curves are not that smooth as seen from the ups and downs (oscillating pattern) ...
1
vote
2answers
52 views

Plotting a set of parameters

I am trying to plot the equations that describe the Cartesian locations of Bi-Cylinder coordinates. The equations are as follows: ...
3
votes
2answers
56 views

DateListPlot from DateHistogram

How do I draw a DateListPlot from the bin height and bin middle position? I have a series of time events from which I calculate DateHistogram, but I want to represent the result through a kind ...
3
votes
1answer
126 views

How to get a best fit line on a scatterplot?

I know that I am supposed to call listplot inside of the show function but I can't seem to get that to work. The best I can get is this, which has the best fit line following the scatterplot. How do I ...
7
votes
1answer
104 views

How to plot a vector field on a geographic map?

Suppose I want to VectorPlot on a geographic map a vector field defined on a Reference Ellipsoid. The field is given to the following function as a ...
7
votes
3answers
1k views

My 3D plot of a Klein bottle doesn't look right

I have found the following parametrisation for a Klein bottle: ...
0
votes
0answers
30 views

Produce a function of parameters from a solution to parametric equation [on hold]

I am trying to produce a very simple result, namely given some function $f(x,a)=0$ find a solution $x(a)$ and let it be a function that I later plot depending on $a$. However Mathematica does not ...
1
vote
2answers
44 views

ListPlot function in 2D- plan in two varibles

Suppose a function f[s,k]. How to Listplot this function in 2D plot in (s,k) plan, such that ...
33
votes
4answers
7k views

Density plot on the surface of sphere

I would like to make density plots of a list of (size 2 or 3) spherical harmonics on the surface of a sphere. I'd like to plot it so that each element of that list is using a different color (red ...
3
votes
4answers
104 views

Show ListPlot markers only if criterion is met

I have a list (imported from csv file) of the form ...
14
votes
6answers
2k views

How can I plot this spirally surface?

I would like to plot a surface that looks something like this sand spiral. But I really have no idea how. Ideally I would like to be able to express this as a function in cartesian coordinates. I'm ...
0
votes
0answers
49 views

How to automate a computation and save the outputs?

I'm working with neutrino oscillations in matter and i'm computing the oscillation probabilities as functions of the Energy. This is what i have ...