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
votes
2answers
180 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): ...
1
vote
0answers
88 views

Distribution above pointplot [duplicate]

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
187 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 ...
4
votes
2answers
166 views

Graphics3D: the box vertices do not coincide with triangle

I have drawn a triangle using Line graphics primitive and Graphics3D function: ...
0
votes
0answers
34 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
2k 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
2answers
310 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
152 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
282 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 ...
4
votes
4answers
958 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: ...
1
vote
3answers
308 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 ...
0
votes
1answer
211 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: ...
1
vote
2answers
398 views

Reversing the ColorScheme used in an ArrayPlot and setting the font size in the color bar

I have a matrix of data that I am plotting via ArrayPlot. ...
2
votes
0answers
141 views

Exporting plots

I want to export a plot which includes curve fitted to a multiple data set. shortly ( I use autolegend function Here ) ...
1
vote
3answers
623 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 ...
9
votes
2answers
418 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 ...
4
votes
2answers
501 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
58 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.
5
votes
1answer
840 views

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

I want to plot several 2D curves (Sin[x] at y=0, Cos[x] at ...
5
votes
1answer
145 views
1
vote
2answers
536 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: ...
1
vote
0answers
77 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 ...
0
votes
4answers
400 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
2answers
218 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: ...
3
votes
1answer
269 views

on RegionPlot3D and ContourPlot3D

First I have ...
0
votes
1answer
185 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 ...
1
vote
1answer
1k 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 ...
1
vote
1answer
184 views

Mismatch between Axes -> True and Frame ->True

Using Axes -> True of the following........ ...
3
votes
1answer
175 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 ...
4
votes
2answers
229 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 ...
5
votes
2answers
732 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 ...
1
vote
2answers
88 views

Why will my plot not generate my entire plot?

I am trying to plot a sum of multiple HeavisidePi functions. A typical example would be something like this: ...
1
vote
1answer
369 views

Dynamically labeling a family of curves [duplicate]

I have created some simple code which generates a plot. This plot contains a family of curves created by changing a single parameter "k". I use the Table function within the Show function to iterate ...
1
vote
2answers
1k views

Font size in PlotLegends, using Table to generate the list in the legend

I am currently trying to get to graph with several functions as below. My problem is that I cannot change the font size in the legend (authomatically generated numbers by "Table" function). This code ...
1
vote
2answers
300 views

Count and plot the number of solutions in an interval

I have equations depending on one or more parameters and I want to find and plot regions in the parameter space in which there is a specific number of solutions. For definiteness let's consider a ...
1
vote
1answer
286 views

How to increase precision: $MinPrecision does not help [duplicate]

I have the following series: ...
0
votes
1answer
136 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 ...
1
vote
0answers
46 views

Scaled ColorData Function [duplicate]

I have a four-dimensional array c, in which the first dimension represents time and the other three dimensions represent (x,y,z) ...
1
vote
1answer
98 views

How can I assign specific colors and sizes to 2D coordinate arrays being plotted with ListLogPlot?

I'd like to plot two sets of coordinates in two different arrays using ListLogPlot, and be able to individually specify the sizes and colors of the datapoints for each array. Things seem to work ...
6
votes
1answer
868 views

How can I change the size of the plot markers

I use ListPlot in order to plot four sets of data and also insert legends in my plot. Here is the Mathematica code ...
0
votes
1answer
247 views

How to manipulate a Fourier sine series?

I would like to plot the Fourier sine series for $f(x) = x$. I would like to manipulate the parameter n from $0$ to $10$ and plot the sine waves over $(0,1)$. My ...
1
vote
2answers
181 views

Plotting array of vectors with conditions

Given data in the form list={{{1,2},{3,4},{5,6}},{{7,8},{9,10},{11,12}},...} a matrix where elements are 2-element vectors, what is a efficient way to plot this ...
5
votes
1answer
209 views

Error invoking Information on functions containing Legended

In adapting some plotting functions to utilize the PlotLegends option of version 9, I came across the following errors: ...
2
votes
1answer
275 views

rasterListContourPlot With PlotLegends in Mathematica 9

Jens Nöckel has write functions about (List) Contour Plots with rasterized shading in Mathematica: http://pages.uoregon.edu/noeckel/computernotes/Mathematica/rasterContourPlot.html It works well. ...
1
vote
1answer
146 views

How can I nicely overlay fits for multiple arrays with ListPlot or ListLogPlot?

I'm plotting multiple lists with ListPlot[] or ListLogPlot[]: ListLogPlot[{ListA, ListB, ListC, ListD, ListE}, PlotRange -> {{0, 100}, Automatic}] I also have ...
0
votes
1answer
122 views

Reversing axes to get Poiseuille profile [duplicate]

I am trying to plot my velocity profile, similar to this plot (not the arrows, just the shape) Here is my function ...
1
vote
1answer
148 views

A weird thing about ListPlot3D [duplicate]

I plot the function f(x,y). x goes from 0 to 25 and y goes from 0 to 12. So, my plot should look elongated since the range of x is twice as long as the range of y. The problem is that, mathematica ...
2
votes
3answers
642 views

Plotting heat equation in a Manipulate expression

I have a 2D heat equation $u_t = \alpha (u_{xx} + u_{yy})$ with conditions: $u(x, y, 0) = 300$, $u_y(x, 0, t) = \mu_1(x)$, $u_y(x, 1, t) = \mu_2(x)$, $u(0, y, t) = \mu_3(y)$, $u(1, y, t) = ...
1
vote
1answer
301 views

How to insert a zoom inside the main plot

As the title indicates, I want to add inside the main plot (preferably at the lower left part) a zoom. Here is the corresponding Mathematica code: ...
2
votes
1answer
282 views

Exporting PDF file - incorrect graphic [closed]

I export graphics to PDF using: Export["/path/figure.pdf", plotname] It gives me more than enough quality for PDFLatex. But somehow, some exported plots have ...