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

learn more… | top users | synonyms (10)

0
votes
1answer
11 views

ListPlot with colors

Let's create some sample data n = 100; d00 = Table[{RandomReal[{-1, 1}], RandomReal[{-4, 4}], RandomReal[{-1, 1}]}, {i, 1, n}]; Now I want the following: create ...
0
votes
0answers
31 views

Trying to create a model and manipulate plot

I have been trying to learn mathematica to implement financial models in it. However, I am still very inexperienced in this :) Currently, I have what is presented below but I can't figure out why it ...
3
votes
1answer
90 views

Optimize a parametric matrix to get a lowest possible eigenvalue

This question is a followup of Plot the lowest eigenvalues of a parametric matrix Now I can get the lowest eigenvalue LowEign(t) of the matrix for a given t numerically. When I plot the LowEign ...
2
votes
1answer
30 views

Translate Tick Marks

The code below creates a StreamPlot for a nonlinear system of first-order ODEs: $\dot{x}=y,\dot{y}=x+\tfrac{1}{4}x^{2}$ I have created a simple zoom slider that expands the region about the critical ...
-1
votes
1answer
282 views
1
vote
2answers
61 views

How to Combine 3D graphics

I'm trying to put this solid S1 = RegionPlot3D[z - 50 <= -2 x^2 - 2 y^2, {x, -5, 5}, {y, -5, 5}, {z, 0, 50}] on top of this one ...
1
vote
1answer
33 views

Plotting a data of protein diffusion trajectory

I have a set of data points of protein diffusion in x-y plane. They are sequential in time i.e, recorded at regular intervals of 20ms. Now, I need to plot a line plot in 2 dimensions, which connects ...
-4
votes
1answer
30 views

Plot values of parameter

Noob-alert: I have a Mathematica notebook with a lot of engineering formulas and several inputs. I want to plot one of these formulas as a function of one of the inputs. The formula in question is ...
18
votes
5answers
3k views

How to keep markers as dots in a joined ListPlot?

Consider the following typical interactive sequence. First I produce a ListPlot: OK, not bad, but I want those dots to be bigger, and also joined. First, I ...
-1
votes
0answers
32 views

Adjusting labels on separate plots inside same window [on hold]

I'd like to have the following layout for a plot: I have all these plots finished, but they are with a lot of labels that were manually adjusted via "Scaled". There are two problems I'm facing: 1) ...
-4
votes
0answers
27 views
0
votes
2answers
47 views

Unable to plot function with exponentials or to find all roots [duplicate]

I am not able to Plot[(-1)^x + 2^x - 2 x - 1, {x, -4, 4}] directly. Some rework might be needed with complex branch cuts perhaps. There are real roots at $ x=3, ...
4
votes
3answers
157 views

Using different style on segments of a plot [duplicate]

Is it possible to plot a function with two different colors? To illustrate, let's have: Plot[Sin[x], {x, 0, 2 π}] which plots a curve. And I would like it to be ...
1
vote
1answer
52 views
6
votes
1answer
134 views

Constrain Locator to specified region

How can I constrain the locator to stay within the region defined by RegionPlot? When the Locator remains within the region, ...
5
votes
1answer
71 views

Why I cannot change the AxesStyle of the Plot?

Bug introduced in 8 or earlier and persists through 10.4.1 I am trying to plot the following single variable function: $$\small\frac{180 \sqrt{\pi ^2-625 t} \left(\pi ^2 (36 t-25)-1500 t \left(45 ...
17
votes
3answers
459 views

Can Mathematica produce manipulatable 3D plots for deployment on the web?

I have a 3D plot I produced in Mathematica and I would like to share it with the world in a way that allows my audience to rotate it and interact with it in the broadest possible way. I would like ...
2
votes
1answer
52 views

Plot the lowest eigenvalues of a parametric matrix

The question here is somewhat related to the comments in Computing eigenvectors and eigenvalues I have a matrix M, say 400 by 400, and all elements depend explicitly on one parameter t in a ...
2
votes
0answers
46 views

Plotting huge amount of data with non-default colour function

I want to plot a huge amount of binary data (a 2700x2001 matrix, 5402700 points), and for that I am using the Graphics[Raster[]] function. With just that command, ...
0
votes
0answers
33 views

Manipulate axis scale on a ListPlot

Use this code to generate my problem ...
1
vote
2answers
69 views

Plot confidence interval around curve

I need to plot a confidence band around a curve in Mathematica, similarly to what done with r in the image below (from here). What is the best way to do it? My ...
0
votes
0answers
29 views

Mathematica showing wrong plot for function f(x) = 3/2 +( Sech[1/x]/x)^2? [on hold]

I tried plotting this function for a homework assignment and got some weird result, and putting the same function in to WolframAlpha gave me the correct answer. The function I'm trying to plot is ...
0
votes
0answers
43 views

All Graphics3D commands crash

Recently updated from Mathematica 8.0 to 10.2 running on Windows 7 (8.0 was uninstalled before installing 10.2). Anytime a 3d graphics is rendered, the first rendering in a notebook is completely ...
0
votes
1answer
98 views

ParametricPlot3D crashes Kernel when called repeatedly in loop

I have a parametric function surf[u,v]. It can be plotted successfully like this: ...
0
votes
0answers
54 views

How to calculate the slope in a data set plotted in ListPlot?

I am working with a large set of data that follows an exponential behaviour. My challenge is to create a function in Mathematica with these objectives: Retrieve the information from an Excel File ...
-3
votes
2answers
69 views

Plot of a function w.r.t x^2

I want to plot a function with respect to x^2 i.e., Plot[f(x),{x^2,0,1}], but mathematica is giving error. Suggestions please
13
votes
3answers
490 views

Particles bouncing in a 3D box

I made this Manipulate code which shows a pack of particles randomly moving inside a box. It has a huge performance issue. What should be the best way in doing ...
1
vote
2answers
67 views

Barlegend with a different z span for ListDensityPlot

I would like to rescale the colors in a plot and to do this in the same way for the color bar. (So this enables me to have the color bar span a (z) range larger than than the data itself.) I got this ...
2
votes
1answer
60 views

How to enlarge a specific part of a graph using Plot Command? [duplicate]

How to enlarge the closed curves of any Graph and Show them in a separate Graph within the ...
0
votes
1answer
70 views

Nested Tables and List Plot

Take two matrices which depends on three parameters i1,i2 and i3 m1 = {{i1, 0, 0}, {0, i2, 0}, {0, 0, 0}} m2 = {{0, i1, 0}, {0, i2, 0}, {0, 0, i3}} I am using a ...
6
votes
3answers
218 views

What's wrong with naming a rule?

Please have a look at the code below. The second Manipulate uses the name rl of the replacement rule given in the first line, ...
2
votes
0answers
93 views

What is a good way to model fluid stream contours around airfoils?

I am an undergraduate student and am doing a project on conformal mapping for my complex analysis class. I have had one heck of a time trying to plot stream function contours to model fluid flow in ...
3
votes
3answers
126 views
1
vote
2answers
111 views

How to do a parametric histogram?

Is it possible to draw a spectral histogram from two random sets ? More specifically, I have these two random functions (fmin, ...
8
votes
0answers
119 views

Exporting a high-resolution GraphPlot of a very large graph (65,536 nodes)

Problem I have a very large graph of 65,536 vertices. GraphPlot yields: But the vertices are too dense to see in any detail, and attempting to use any of the ...
2
votes
1answer
100 views

Seeing coordinates in Graphics3D

I'm writing some structures built up from different strings that specify the coordinates of the lines. The code used to generate these is built up from a ton of user defined functions from my library, ...
1
vote
2answers
67 views

Recreating a ContourPlot3D using points

Let's define a three-dimensional surface ...
-1
votes
1answer
38 views

rescaling X axis

I have a pretty simple code, working fine and producing a plot that is ALMOST what I desire: ...
1
vote
2answers
85 views

Plotting logistic maps

I have a question about plotting in Mathematica in general, and this particular recurrence relation as an example: $\qquad x _{n+1} = rx_{n}(1-x_{n})$ How can I plot the following plots as shown ...
1
vote
1answer
40 views

List of Inequalities in RegionPlot with different colors [duplicate]

Starting from the example of the Documentation: RegionPlot[{x^2 < y^3 + 1, y^2 < x^3 + 1}, {x, -2, 5}, {y, -2, 5}] Which gives a nice plot with two ...
0
votes
1answer
41 views

Plot for function that calculated direct with while, but is piecewise

For this question Use of {FOR, Do, If,Plot} that ..., I wrote this code: ...
0
votes
0answers
26 views

Plot3D gives an empty box [closed]

I have two questions. I am trying to 3d plot a function like in the image below. It gives an empty box displaying no results. I tried adjusting the graphic qualities, but it does no solve the ...
6
votes
2answers
114 views

Bar chart scale in multi-chart visualisation

This is a rewording of a previous question which probably wasn't very well explained, and so didn't get any responses(!). I'm trying to create a chart which shows the smooth kernel distribution of ...
2
votes
0answers
67 views

Complicated implicit plotting - can it be tackled?

I'm quite new to Mathematica and have already spent tons of time on problems of this type, browsing through tutorials and topics here. I'm now coming to conclusion that it cannot be done and am about ...
-4
votes
0answers
79 views

Bifurcation diagram for delayed dynamical system [closed]

The delayed dynamical system describe as $\dot{x}(t)=y(t)-ax^3(t)+bx^2(t)-z(t-\tau)+I \\ \dot{y}(t)=c-dx^2(t)-y(t)\\ \dot{z}(t)=r[s(x(t)-e)-z(t)]$ where $a=1.0; b=3.0; c=1.0; d=5.0; r=0.006; s=4.0; ...
1
vote
1answer
74 views

Plotting a convex hull with a coordinate mesh

I am plotting the convex hull of some curves by extracting the curves from a contour plot and constructing the convex hull around their discretized version . It's not terribly accurate for ...