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
25 views
0
votes
0answers
31 views

Plotting function described by other functions!

I want to plot and manipulate my VS function which comes from the other functions above it. So, what should I use in order to draw my function considering that it is described by other functions. I ...
1
vote
3answers
66 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
50 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 ...
2
votes
1answer
36 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
vote
1answer
34 views

Plotting a data of protein diffusion trajectory [on hold]

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
36 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 ...
1
vote
2answers
64 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 ...
-4
votes
0answers
28 views

Need help to plot Graphic [on hold]

Please help me to plot this polynom,
-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) ...
3
votes
1answer
93 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 ...
0
votes
2answers
48 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, ...
5
votes
1answer
72 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 ...
4
votes
3answers
159 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 ...
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
51 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
34 views

Manipulate axis scale on a ListPlot

Use this code to generate my problem ...
1
vote
3answers
79 views
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 ...
1
vote
1answer
65 views
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 ...
1
vote
1answer
53 views

User-defined density plotting function with a functional argument: extracting variables from the function and plotting in a circular region

I would like to customize the function DensityPlot and use it in a package as a function called MyDensityPlot: The functions ...
0
votes
0answers
44 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 ...
4
votes
1answer
98 views
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
6
votes
1answer
135 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, ...
0
votes
1answer
71 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 ...
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 ...
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, ...
1
vote
2answers
68 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
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 ...
3
votes
3answers
127 views

How to obtain the coordinates of the intersection line of two surfaces?

I can plot the intersection line of two surfaces $f$, $g$ by using: ...
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 ...
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: ...
1
vote
1answer
79 views
1
vote
2answers
86 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 ...
2
votes
0answers
69 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 ...
1
vote
1answer
75 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 ...
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, ...
-4
votes
1answer
61 views

what is wrong with this plotting code? [closed]

Heres the question: The region bounded by f(x) = x+2 and g(x) = sin(x) between x = 0 and x = Pi/2 i. Plot the region on the interval [0,Pi/2], between y = 0 and y = 4. ii. Find the area of the ...
1
vote
0answers
38 views

axis label problem

I have a contourplot with (Greek) omega on the y-axis and Q^2 (GeV^2) on the x-axis. When I do ...
0
votes
0answers
34 views

EPS Files + Too many points with ListPlot [duplicate]

So, basically, I have this ...
2
votes
2answers
62 views

Creating a custom ListPlot of consecutive points

Here comes some sample data ...
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 ...
3
votes
2answers
243 views

Extracting RGB color code from a plot

I have let Mathematica to draw a plot of some functions written as below: ...
3
votes
1answer
45 views

Change of parameters on ouput graph

I have generated the graph, but i lost the settings, i would like to make the Plotmarkers slightly bigger. Is there anything to do this without redoing the computation? Like ...
-1
votes
2answers
50 views

Plot a cone and a cylinder [closed]

I have to plot 0=x^2-2y+y^2 and z=sqrt(x^2+y^2) for a class project but Mathematica does not accept raw input, any ideas? I have tried with "cylinder" in the functions but it does not work.
0
votes
0answers
37 views

Curve moving on the torus [duplicate]

I'm trying to do parametric curve moving on the torus. Already have created sample torus : ...