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

learn more… | top users | synonyms (12)

0
votes
1answer
52 views

Contour plot with a condition

I have a simple contour plot and wanted to find solutions only when both x and y are integers. The following code doesn't seem to work. ...
4
votes
1answer
54 views

Changing style of label boxes in TimelinePlot

When I export the below TimelinePlot to an .eps figure (to include in a document), the boundaries of the rounded boxes surrounding the label text do not appear. (...
2
votes
2answers
129 views

Direct way of listplotting each 2 or 3 points?

I have a list of points myList={{x_1,y_1},{x_2,y_2},...,{x_n,y_n}} I want to plot not all the points of this list but to plot every $k$ points. For example, if I ...
2
votes
1answer
65 views

Superpositions of colored gratings

I created fork grating on mathematica and it is gray tone image, I need to conver it into Black and Blue image instead. And I use the Image code to do that but it didn't work! is there another way to ...
0
votes
1answer
61 views

Why this function can't be plot [closed]

Situation I have define a function in Mathematica like this: phi[t_] := Subscript[\[Phi], m] Cos[(2 \[Pi])/T t] Then I specify some parameters in this function ...
2
votes
1answer
134 views

How do i plot a conical spiral on top of a cone?

So i need plot a spiral from the top of a cone, can someone help me with my code i have made a similar thing for a cylinder, but there radius wasnt change and in this case i cant figure out how to ...
0
votes
1answer
54 views

Manipulation of imported Datafile

Since I am solving a differential equation in a for loop with NDSolve ...
2
votes
2answers
48 views

ListPlot of a complex data file

Here are some sample data: ...
2
votes
2answers
79 views

BarLegend problem when rescaling color of multiple vectorplot

I want to make multiple vector plot at same color scale with same BarLegend. Similar posts are (1), (2) I made a minimal example to show the problem I encountered ...
0
votes
1answer
66 views

Missing curves in a plot [closed]

I am trying to plot multiple curves for a particular parameter in a function S1, where the only variable is t and the rest are ...
8
votes
3answers
450 views

Plot independent 2D graphs on walls of 3D Plot

Sorry, I know a lot of similar questions have been asked before, but I just can't find one that exactly describes my problem. How can I make the according 2D (marginal distribution) graphs appear on ...
4
votes
1answer
76 views

3DPlot Rendering Artefacts (z-fighting)

I am trying to render a matrix as a depth map: ...
0
votes
1answer
74 views

Mapping over function's several parameters regions [closed]

About this post: Mapping multiple parameters of a function to specific values I wonder if the parameters a and b have ranges ...
10
votes
1answer
247 views

Vastly incorrect answers obtained by increasing WorkingPrecision with modified Bessel functions

Bug introduced in 7.0 or earlier and persisting through 10.4.1 This is a follow-up to this question regarding numerical instabilities occurring with modified Bessel functions. In trying to explore J....
1
vote
1answer
44 views

REAL Roots of a 2 variable Polynomial

I am looking to plot the real zeros of polynomials of two variables in Mathematica, but I have encountered an issue. To accomplish this task I have been using ContourPlot to plot the polynonial f(x,y)=...
0
votes
2answers
79 views

DensityPlot with logarithmic xy-axes and logarithmic color scale

I would like to do a DensityPlot with logarithmic xy-axes and logarithmic color scale for the function \begin{align} S(\epsilon_{v},\epsilon_{\phi}) = \frac{\pi}{\epsilon_{v}} \frac{\sinh \left(\...
1
vote
1answer
44 views

Color in Spherical3DPlot according to value

I want to colour a 3D plot according to it's value. I could only mange in one direction (say in 'z' direction) but I want to show them in all direction together. I have written the following code: <...
3
votes
3answers
380 views

Animated point following a sinusoidal path on sphere

Could someone help me with animating a point following a $\sin$-like path on the sphere? It should be something like this: This green point should walking on a sine (this red line) around sphere.
0
votes
1answer
48 views

ColorFunction causing division by zero error (going outside domain?) [duplicate]

On the following plot example, I get a division by zero error (10.4.1): ...
1
vote
1answer
71 views

How to label individual points in data set with use of SciDraw?

I'm trying to lable each point in data set and adjust corresponding TickLabels. Here is my code: ...
4
votes
1answer
122 views

What is wrong with my code so it neither produces a correct plot nor an error message?

I am trying to define some initial functions and then using them to define my secondary functions and then plot the secondary functions. I am supposed to get two curves with a finite width ...
4
votes
1answer
41 views

Customize FillingStyle in LIstPlot3D

I'm trying to plot inundation at different elevations on a 3D ground surface elevation plot. The closest I have got so far has been to use FillingStyle as the ...
3
votes
2answers
126 views
14
votes
2answers
670 views

Pulsed NMR animation

I'm new here and have never interacted with the community so excuse me if this has been asked before or if I format incorrectly or anything like that. Anyway, I'm trying to make an animation for a ...
3
votes
1answer
124 views

Plotting a table with many y values

I'm trying to plot a bifurcation map for a Lorenz System. I have a function (called estables in the code that follows) which, for a certain value r, returns the ...
5
votes
1answer
150 views

Transcritical Bifurcation phase portraits

An example equation for a Transcritical Bifurcations is given by: $$\dfrac{dx}{dt} = f(x, r) = r x - x^2$$ In Mathematica, we can define the function as: ...
1
vote
2answers
75 views

Plotting the InterpolatingFunction from NDSolve [closed]

I want to plot the solution of a differential equation which i solve it numerically with NDSolve. Here's the code: ...
2
votes
1answer
66 views

How to plot a function whose constant parameters have associated uncertainties in Mathematica 8.0?

Let's assume I want to plot the function $f(x)=a + bx+ cx^{2}$, where experimentally known values of parameters $a, b$ and, $c$ are as follows: $a=1.01 \pm 0.18$ $b=0.92 \pm 0.11$ $c=2.2 \pm 0.2$ ...
3
votes
3answers
206 views

How to get exact coordinate of a point from a plot?

I am using BodePlot[] to plot the magnitude and phase of a function as below. BodePlot[1000/((1 + s/10^3)*(1 + s/10^6))] ...
5
votes
0answers
67 views

Cannot reproduce VectorDensityPlot solution from question 37459

Bug introduced in 10.0 or earlier and persisting through 10.4.1 or later (Reported to Wolfram Technical Support on 24 May 16) Using Mathematica 10.4.1 for Microsoft Windows (64-bit) (April 11, 2016),...
0
votes
1answer
34 views

Single rows of arrows in VectorPlot [duplicate]

I have two vector fields which have only one component, e.g. the y-component of the graph below. How do I obtain a plot similar to the one uploaded here, by using ...
2
votes
1answer
145 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
240 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
83 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
218 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
67 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
81 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
44 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
70 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: ...