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

learn more… | top users | synonyms (2)

3
votes
2answers
39 views

Beginner's question: Gap between FrameLabel and BarChart

I have a BarChart (Mathematica 9.0.1) ...
1
vote
2answers
64 views

How to create a 3D curved surface, given some discrete points in space?

I have some 3D point data and I want to create a curved surface with these points, and export the curved surface data (point coordinates) according to points density on the curved surface. How can I ...
-5
votes
0answers
75 views

Extracting points data from a 3D curve surface?

I have a 3D data sets, and I have used it to create a 3D plot, but some of the data points are errors and need to be removed. How I can I remove the bad points from the plot? ...
8
votes
2answers
128 views

Adding custom GridLines to the “automatic” ones

I need to add custom (vertical) grid lines to a plot (to a DateListPlot, to be precise). I know there is the option of ...
6
votes
2answers
1k views

Creating a simulation of our Solar System

As the title says, my objective is to create a simulation of the motion of the planets in our Solar System using Mathematica. All the theoretical background regarding the equations of motion of ...
-1
votes
2answers
78 views

Discrete 3D Plot with date on one axis

1) How do I plot the following data in 3D (large data, only a part of it is used here): ...
10
votes
3answers
1k views

Plot data from txt file?

I have data in file.txt which can be expressed by 20000x11 matrix. I do not want to import all of these data. How can I plot graph of the column 1 & column 4?
0
votes
0answers
54 views

Distribution above pointplot

This is my first question here, so I'm sorry if I do something wrong. Also I'm fairly new to Mathematica (using 8). I've used it about 2 months. Only 2 weeks intensive. The rest was about ...
0
votes
1answer
117 views

Strange 3D plot behavior

Two Part Question Part 1: As you can see from the data and plot below, the plot does not accurately display the data sets but adds lines beyond and in different dimensions. Both u and v datasets are ...
1
vote
1answer
89 views

Constrain plot points to below a certain line

I have a set of curves that take on large values when approaching 1. I'm trying to create a straight line with certain slope and then truncate the plot for any curve that goes above that line for any ...
4
votes
2answers
72 views

Graphics3D: the box vertices do not coincide with triangle

I have drawn a triangle using Line graphics primitive and Graphics3D function: ...
1
vote
1answer
382 views

Plot cubic root which includes the negative graph [duplicate]

Possible Duplicate: Finding real roots of negative numbers (for example, $\sqrt\[3\]{-8}$) Yes, I know there are other Threads which have similar questions and yes I read them but I am just ...
0
votes
2answers
70 views

Visualize Plot of a function of 3 Variables using color and contours

I would like to plot a function of three variables, say for example: $$f(x,y,z) = x^2+y^3+z^4$$ over $[-1, +1]$. I want my plot to use colors and maybe contours to make this visualization possible ...
0
votes
0answers
32 views

How to tell Mathematica to use Real Only Mode [duplicate]

How do I tell Mathematica to use real only mode. For example if I want to graph $(x-1)^{1/3}$ for $-3<x<3$, I need to use Real Only mode to get the right graph.
0
votes
2answers
56 views

Plotting points and functions in one graphic

I have this plot: Plot[{0 x, -x, x, -Sqrt[2 - x^2], Sqrt[2 - x^2]}, {x, -3, 3}, PlotStyle -> {Purple}] Now I want to do the following. I want to plot the ...
0
votes
2answers
53 views

List Plot 3D the same colour scale

I have a transient problem of pressure disipation. I want to plot severals 3D plot but I have a problem with colours. Case: One of my ListPlot3D presents pressure ...
1
vote
1answer
104 views

Concerning ShowLegend in Mathematica

I found a code for Mie Scattering from 2007, written for Mathematica. I have edited it quite a bit, since there are package definitions that we don't need, etc. But I am having difficulties ...
1
vote
4answers
233 views

How to plot filling under a curve?

I want to mark critical areas for statistical test on the plot. How can I do this? This: ...
0
votes
1answer
104 views

DAE - varying initial conditions

I want to solve a DAE-system and I want to vary more than one initial conditions and to manipulate them. I looked here: Putting NDSolve into ParametricPlot But it does not work: ...
0
votes
0answers
66 views

draw a graph of a polynomial function with variables in the denominator [closed]

I have an equation f(u,z1,z2)=0, which is a long and complicated polynomial function with u in denominator. ...
1
vote
2answers
77 views
6
votes
2answers
233 views

How can I fill under a function in a plot just to right of a specified vertical line?

How do I plot a normal curve with filling under the curve and to the right of a vertical line. I would prefer that the vertical line starts at the x-axis and stops at the plotted curve. Basically ...
1
vote
2answers
61 views

Scaling the x-axis in ListLogLogPlot[] or ListLogPlot[] in lieu of DataRange

I will present my existing workaround but I am wondering if there is a better solution that takes less time (my solution seems to ~double the time it takes to produce the desired plot). Using ...
7
votes
1answer
159 views

Simple problem with Manipulate and Plot

Would anyone have an idea why the following doesn't work: rule = {z -> x^2 + 2 x + y}; Manipulate[ Plot[z /. rule, {x, 0, 10}], {{y, 2, "y"}, 1, 5} ] But ...
1
vote
3answers
98 views

The plot of roots of polynomials

I have polynomial equation like Tribonacci Polynomials for example: $T_3(x)=x^4+x$. After finding the roots of this polynomial, I want to show these roots in the complex plane. I have tried lots of ...
2
votes
0answers
66 views

Exporting plots

I want to export a plot which includes curve fitted to a multiple data set. shortly ( I use autolegend function Here ) ...
3
votes
1answer
136 views

How do I place a graphical marker (box, circle, …) in a MatrixPlot?

I'm trying to locate minima / maxima in matrices on a heat map. So I have my 2D matrix and did a MatrixPlot, and I can find the position of the smallest value. ...
17
votes
3answers
707 views

Visualizing a Complex Vector Field near Poles

I've been playing around with a visualization technique for complex functions where one views the function $f: \mathbb{C} \rightarrow \mathbb{C}$ as the vector field $f: \mathbb{R^2} \rightarrow ...
5
votes
1answer
145 views

How to draw some 2D curves in a 3D plot?

I want to plot several 2D curves (Sin[x] at y=0, Cos[x] at ...
376
votes
6answers
142k views

xkcd-style graphs

I received an email to which I wanted to respond with a xkcd-style graph, but I couldn't manage it. Everything I drew looked perfect, and I don't have enough command over Plot Legends to have these ...
4
votes
2answers
162 views

rotating 3d text

Is it possible to create a 3d rotating text like this: animation here. Here is my try so far: ...
0
votes
0answers
49 views

LogLinearPlot analog for Plot3D? [duplicate]

Is it possible to make 3D plot in logarithmic coordinates? I need analog LogLinearPlot to plot 3D figure in logarithmic x, or y, or both coordinates.
0
votes
1answer
75 views

Labelling Curves Using ListLogLinearPlot within DynamicModule (So Close)

I currently have a large number of time-series datasets in the form where the name and time-series transposed data, so I have a list of lists of names for datasets and their time-dependant data. The ...
0
votes
4answers
111 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? ...
2
votes
3answers
177 views

Selective inclusion of elements in BarChart Legend

Further to my previous question, is there a concise way - amenable to automated setting in a package so that it can be accessed globally - to eliminate some legend item that would otherwise show? For ...
2
votes
2answers
93 views

Why do Plot and ListPlot use the last PlotStyle when only one thing is plotted?

When a list of PlotStyles is given, ListPlot behaves as expected when there are multiple things to plot: ...
-1
votes
1answer
123 views

How to plot two functions together? [closed]

I have defined two function like f[Rp_] := Sin[0.5 ArcSin[Sqrt[(3 Rp^2)/((2 - Rp)^2 + 3 Rp^2)]]] and ...
0
votes
2answers
50 views

Changing FrameTicks of ListPlot

I am unable to change the frameticks for my list plot. I am trying to plot a growth rate omega function which looks like this: ...
12
votes
5answers
986 views

Fixing quirky typesetting in plot labels

Consider this example plot. Plot[ 1-Exp[-x], {x,0,3}, AxesLabel->{"thickness (\[Mu]m)","power density (W/m^2)"} ] Let us hold the typographical quality ...
1
vote
0answers
47 views

Comparing data sets with fade transitions (Code speed-up)

I am using the utility below for data comparison. However, with my real (more complex) charts the processing is quite slow, so setting the Pause time under ...
5
votes
4answers
138 views
0
votes
1answer
137 views

How do I implement Dynamic Graphics? [closed]

I'm interested in learning to implement graphics like to those shown here My pendulum c++ code (source & csv's located here) outputs the positions of each mass into separate csv files. -== My ...
3
votes
1answer
98 views
2
votes
1answer
174 views

Using mesh for a single function inside Plot

Plot[{Sin[x], Cos[x]}, {x, 0, 10}, Mesh -> {{0, \[Pi]}}, MeshShading -> {Black, Red}] In the above, how can I specify that I want the mesh for just, ...
1
vote
1answer
82 views

Mismatch between Axes -> True and Frame ->True

Using Axes -> True of the following........ ...
3
votes
2answers
110 views

Why do I get empty graph when adding 'Abs' function?

Can someone be so nice to provide some help for this particular situation? I try to plot a graph of a derivative which contains modulus. Without it the graph is drawn correctly: But when I wrap the ...
2
votes
1answer
76 views

What causes strange line artifacts to appear in plots with certain PlotRanges?

I have seen this strange plotting artifact occur before and I was able to make it go away by changing the PlotRange. However, this time I need the prescribed PlotRange to be what I define and I get a ...
2
votes
2answers
188 views

Equivalent of MATLAB's “hold on” function

I'm making an animation where the number of iterations is known. I tried using Dynamic, as I prefer updating in real time over generating data before plotting. I ...
9
votes
2answers
261 views

Graphically representing error in a Riemann Sum

I am trying to graphically represent the error in a Riemann sum. My current code looks like: ...

1 2 3 4 5 23