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

learn more… | top users | synonyms (12)

2
votes
1answer
146 views

Fractal plotting for the Collatz fractal

I have the following equation: f[z_] := 1/4 (2 + 7 z - (2 + 5 z) Cos[Pi*z]) I want to map this on the imaginary plane such that if it converges under iterations ...
1
vote
1answer
46 views

Frame plot axis labels: superscripts and subscripts in italic and non-italic

I want to make nice plot labels with framed plot. I need to have labels with both subscripts and superscripts, both of which need to contain italic and non-italic characters. For example $a_{b, c}^{...
0
votes
1answer
78 views

Add color bar in SphericalPlot3d in version 8

I want to add a color bar in my spherical plot. I have tried the BarLegend command in version 8 but it seems not working. Could anyone help me out a bit? I wrote ...
2
votes
1answer
83 views

How can I code markers for different groups' values over a period of time?

I have a 3-column dataset where I show the probabilities of winning of teams in different years (team name, year, prob.) I need to plot it with markers so the probabilities of each team can be ...
2
votes
3answers
241 views

Enneper's minimal surface

How to plot the Enneper's minimal surface like this I tried: ...
16
votes
2answers
836 views

Plot 3D model of DNA in Mathematica

My friend asked me if we can plot a 3D model of DNA (deoxyribonucleic acid) in Mathematica. However, I am not really familiar with this and I don't know if Mathematica can do this. Could you answer ...
2
votes
1answer
101 views

How to make a 3D surface plot from DataSet

I am trying to plot some Aerodynamic data. I import my data like this: data = SemanticImport["roll-damp-due-to-roll-rate-semantic.csv"] The CSV file can be found here: data I want to make a 3D ...
1
vote
2answers
84 views

Show linear plot as log plot

I have a listplot and plot of fit functions which I combine with Show[listplot, plot]. ...
4
votes
1answer
85 views

Trying to create an interactive plot (newbie here)

I'm new at Mathematica so please bear with me. I am trying to create an interactive plot that will end up looking like this: I want to input values for certain variables and then plot a curve. This ...
3
votes
1answer
34 views

Estimating or monitoring progress on Contourplots

I came across Rojo's answer on the Mathematica Stack to the following questions: "Estimating progress on plots" Estimating progress on plots Could somebody please help me revise this code for the ...
3
votes
2answers
256 views

Sphere+Helix animation

This is my code: ...
0
votes
2answers
220 views

Curve wound on torus

I'm beginner in the Mathematica and would like to do some animation based on curve function : ...
6
votes
2answers
136 views

Voronoi diagram using RegionPlot, using the hyperbolic metric

I want to compute the Voronoi diagram on the unit disk, using the hyperbolic metric. So, I want to input a list of points and obtain a plot of the cells associated with each of the points. I defined ...
0
votes
1answer
69 views

How can I show multiple list line plots with their proper x-axis ticks? [duplicate]

Subscript[[Alpha], 1]={1.50,1.75,1.90,1.95}; c1={0.670,0.860,0.950,0.970}; c2={0.440,0.570,0.630,0.650}; c3={0.400,0.510,0.570,0.580}; c4={0.380,0.490,0.540,0.560}; g1=ListLinePlot[{c1,c2,c3,c4},Frame-...
1
vote
1answer
82 views

Parametric Plot from ODE using WhenEvent

I am searching for a while now, but I don't seem to be able to find an Answer for my Problem - if I am just not able to search properly, I am really sorry. I Simplified my Problem to the following ...
1
vote
1answer
45 views

how to use loop function to add column heading and row heading

I have a raw data xsl file without heading column and column heading I want the A,B,C....J to be question 1, question2.....question J and 1,2,3 ....n to be participant 1, participant2, .........
10
votes
2answers
745 views

Why is Mathematica destroying this graph?

Here I have a picture of a function I graphed: reg[x_,y_]:=(x^2+y^2)Cos[4ArcTan[y/x]]; Plot3D[reg[x,y],{x,-2,2},{y,-2,2},AxesLabel->Automatic] And here is ...
4
votes
1answer
71 views

Plot option Filling conflicts with option PlotLabels

The regulars here discuss approaches to numerically unstable systems of higher-order PDEs, and I cannot even paint by numbers … (sigh) A Plot[] of simple curves with ...
1
vote
0answers
44 views

Grid of plots - alignment [duplicate]

I'm trying to plot several plots and graphics into Grid, but I have no success with proper alignment. Here is my code: ...
1
vote
0answers
47 views

High Precision Plots of Eisenstein Series [closed]

When plotting the Eisenstein Series (great information here Eisenstein Series in Mathematica?) you observe highly non-trivial branch cut behavior close to the real axis. This makes the numerics break ...
2
votes
3answers
93 views

Find extremal values while plotting

I have a parametric function {x[t],y[t]}. I then do ...
2
votes
2answers
352 views

Draw a circle through 4 points on parabola [closed]

I have two dynamic perpendicular parabolas: $y=ax^2+c, x=by^2+d$, which intersect in four points (the coefficients are chosen that way). There is a fact that we can construct a circle through these ...
0
votes
0answers
39 views

3D Plots and vector fields [duplicate]

I'm a beginner. How I make a 3D Plot from zero? (like a graphics with the potencial of the electric field). I have to make vector fields too. (vectors of the electric field). I search at internet but ...
0
votes
0answers
59 views

3D Plotting of numerical solution

Numerical solution (f(t)) is obtained by solving coupled ODEs. I have used 'Manipulate' to vary the values of two parameters in the couple ODEs and plot the solution (f(t)). How to display the same ...
4
votes
1answer
110 views

How to automatically label the cluster distances in a DendrogramPlot?

I have a distance matrix data, and want to visualize it as below: The current codes I am using is: ...
0
votes
1answer
60 views

How to plot function against another function? [closed]

I want to plot V(z) against phi(z). I tried to used ParametricPlot but that didn't answer. ...
0
votes
1answer
79 views

Plotting the modular surface of a complex function [closed]

Tristan Needham stated in the introduction to Visual Complex Analysis that he used Mathematica to create the majority of graphs in his book. I'm trying to recreate the graph he made for figure[14] of ...
1
vote
1answer
182 views

plotting a function in bipolar coordinates

How to plot a function specified in bipolar coordinates if straightforward substitution of expression of Cartesian ones via them is impossible?
1
vote
2answers
88 views

Having trouble plotting. Here is my code:

Nothing is plotting when I try to run the code
4
votes
3answers
176 views

Changing color of overlapping plots

If I have two plots with two different colors, Plot[{Sin[x]^2, Sin[10 x]^2}, {x, 0, 5}, PlotStyle -> {Red, Blue}] is there a way to change the color of the ...
0
votes
0answers
22 views

What is the difference between these two syntax? [duplicate]

Consider the code below, at first I think these two are identical. However, running the below code in Mathematica 10.3.1.0, The first: 3 lines of different color. The second: 3 lines of the same ...
0
votes
0answers
56 views

How to plot a series of data with same x

How can I plot a list like {{x,y1,y2,y3,...,yN},{x,y1,y2,y3,...,yN},...} I have several y for x
1
vote
1answer
41 views

Plotting Elipsoids with large weight matrix

I'm running into some problems plotting 2D Ellipsoids with non-diagonal weight matrices -- they are not centered where they are supposed to be. I'm not sure exactly ...
1
vote
1answer
51 views

Epilog out of the plot range [duplicate]

I need to put some letters besides the plot, i.e. out of the plot range. I thought of using Epilog: ...
0
votes
0answers
35 views

How to construct my own ColorFunction with the TemperatureMap range

I would like to draw the unit circle and define my own coloring function on it so that every point $e^{i\theta}$ of the unit circle will be colored according to said function from the range of colors ...
0
votes
3answers
81 views

How can I create a four dimensional plot (3D space + color) of the data provided? [duplicate]

I would like the x, y, and z axes to be reserved for the first three columns and the color to be reserved for the fourth column. I would like the output to have a color bar and color function. If you ...
3
votes
2answers
124 views

How can I make the color points in ChromaticityPlot[] joined?

So I'm using ChromaticityPlot[] to plot some colors as points: ...
1
vote
1answer
44 views

Extra restrictions in best response functions using Manipulate[ ]?

I have two best response functions that I have defined like this: ...
0
votes
0answers
54 views

How to find Graphics coordinates in 3D Plot in Mathematica 9

I can't reproduce the steps as in the link to get coordinate points in a 3D Plot or Graphics in version 9 because with the mouse pointer I can by default only rotate/scale/shift the 3D Plot (also ...
0
votes
0answers
47 views

min and max in Ticks determination

I wonder, how Mathematica determines the values that it sends to custom tick functions, ie. the minimum and the maximum on the axes? Here is an example: ...
2
votes
1answer
65 views
4
votes
2answers
167 views

Plotting the sum of curves without recalculation

I want to plot several curves of functions which are hard to calculate on the same plot. I would like to add to the same plot the sum of these functions without recalculating them twice at each point. ...
0
votes
0answers
31 views

opening and closing a new notebook

This work perfectly CreateDocument[{TextCell[ Manipulate[Plot[Sin[a x + b], {x, 0, 7}], {a, 1, 4}, {b, 0, 10}], "Output"]}] but if I want to change say 7 for 10,...
4
votes
2answers
169 views
5
votes
1answer
126 views

How can I get the interpolation line from Listplot?

My discrete data is: data={{1., 5827.}, {3., 6242.}, {15., 6066.}, {60., 5972.}} I want to get the interpolation line from ListPlot: ...
0
votes
1answer
87 views

Concerning the default coloring made by Plot3D in 10.4 [closed]

Recently, I have installed Mathmatica 10.4, but I found out that when I use Plot3D, it gives me a mesh. In order to add color, I have to explicitly set ...
6
votes
3answers
388 views

Integrate to calculate enclosed area

I am trying to 'use an integral in polar coordinates to calculate the area enclosed by this curve': The curve is: r=sin2θ, θ ∈ [0, π] which I believe is already in ...
1
vote
0answers
51 views

Region traced by the endpoints of all vectors given by a parametric expression [closed]

I have the expression of a vector e, with 3 parameters tt1 tt2 and tt3: ...
0
votes
1answer
49 views

How to increase the size of fonts and tick marks and numbers in plotting a contour plot in Mathematica 8.0?

I have some function of two variables, $x$ and $y$, and I would like to plot $x$ vs. $y$ parameter space probability distribution function in which the contours are represented by ...
3
votes
2answers
107 views

Evaluating Functions on Zero Sets (of other functions)

I have a highly non-trivial function, call it $f(x,y)$, in which I want to look at its zero set in the $(x,y)$ plane, and plot/evaluate a different function $g$ precisely along this zero set. I have ...