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

learn more… | top users | synonyms (12)

-1
votes
2answers
136 views

How to make a good scatter plot

I have the following cross section: c = 0.117 At= 1.37375 sigma[Y_,m_] = ((c^2)/(256*Pi))*( (1/2) ( Y/m ) *Abs [At] )^2 *10^8 When I make ...
0
votes
0answers
29 views

Logarithmic scale for parametric plot [duplicate]

I would like to introduce a logarithmic scale for the following parametric plot ...
3
votes
1answer
261 views

Plotting the 3D region that determines a volume

I need to plot this with Mathematica: Use a triple integral to determine the volume of the region below $z = 4 - x\,y$ and above the region in the xy-plane defined by $0 \leq x \leq2,\ 0 \leq y \...
2
votes
1answer
74 views

Coloring (Temperature) surface of parametric 3D plot

I am stuck on figuring out how to do a "Temperature" Color scheme for a surface plotted using ParametricPlot3D. As an example, here is a plot of one example surface. This is a antenna gain plot of ...
1
vote
0answers
76 views

Power Spectral Density Plotting [closed]

I am new to signal processing.I am analyzing the connection between the behavior of the Rossler model and its parameter c. \begin{array}{ll} \dot{x} = -y - z \\ \dot{y} = x + 0.2y \\ \label{eq:...
3
votes
2answers
52 views

PlotStyle with nested list

Simple Question from a Stumped Rookie: Using ListPlot, I can't get PlotStyle to look below the first level of a nested list to assign individual saturation values for each point; it assigns the ...
0
votes
1answer
54 views

How to Write a code to automatically generate the planckian locus in (u,v) space [duplicate]

in the CIE XYZ color space the three coordinates defining an electromagnetic spectrum are given by XT=∫x( λ ) M( λ , T )dλ, YT=∫y( λ ) M( λ ,T )...
0
votes
1answer
74 views

How to merge two plots in Mathematica 8.0 in a column and then save the figure as a single pdf file?

I have defined two plots and then want to merge them into one so that I can save the figure as a pdf file into my computer. Here is MWE where I would like to merge two plots into one: ...
3
votes
1answer
54 views

Plotting the complement of a graph without changing the name of the vertices

I have a graph in the form {Dog -> Apple, Apple -> Screwdriver}, I used to plot a graph in the following way: ...
1
vote
1answer
50 views

Fastest way for data input into StreamPlot function

I'm interested in looking at graphing the phase portraits of 2x2 autonomous ODEs, and I'm using the StreamPlot function. Here is one simple example: ...
0
votes
0answers
51 views

Use If condition with ListPlot

Here is my code to use If condition with PLot: ...
5
votes
3answers
135 views

Show and PlotLegend row spacing

In this toy example I make some plots, each with a legend, and combine them with Show. All the legends are assembled into a column which is helpful but it is too high for the size of plot. How can I ...
1
vote
1answer
75 views

ListPlot problem

I have the following example: x = {1, 2, 3, 4} y = {{1, 2, 3, 4}, {2, 3, 4, 5}, {3, 4, 5, 6}, {4, 5, 6, 7}} Now I can plot: ...
3
votes
3answers
70 views

Moving a plot label along with a moving threshold line

Here is a simple Manipulate expression with a threshold. ...
-2
votes
0answers
26 views

plotting conditional expression with mathematica [duplicate]

My code that I previously asked, is in this way(that first I define parameters): ...
-2
votes
1answer
71 views

How can I plot conditional expressions?

I want plot an expression that includes some integrals. The values of these integrals are conditional expressions, and this is making plotting difficult. My code: ...
4
votes
2answers
59 views

How to make height of PlotLegend the same as height of plot which has a fixed horizontal width

This is a problem of Legends in density plot. As pointed out by this post. Generally we want to same height of legend bar and plot. The code for the basic case is ...
0
votes
1answer
70 views

Solving and Plotting Infinite sums over solutions to transcendental equation involving Bessel functions

I am trying to use Mathematica to plot the following equation $E(q,\Delta)$ vs $qa$, for set values of $ D \Delta/a^2$ and $\bar\rho a/D$. I have looked at other stackexchange posts which deal with ...
9
votes
1answer
125 views

ArrayPlot with a user-defined color function is misbehaving

Bug introduced in 10.0 and persisting through 10.4.1 or later I am using ArrayPlot to show some arrays with values from 0 to 1. I want 0 to be black and 1 to be ...
4
votes
3answers
127 views

Extracting *firstly roots* from some lists to plot their pairs values

I have two different lists as list1 and list2. Their ListPlot3D of them are: and As shown in these plots, there are some points of which ...
5
votes
2answers
148 views

How-to ensure consistent legend when using PieChart?

Description: I would like to enforce consistent legend and style throughout dynamic PieChart evaluation. Problem: Based on current implementation, the color ...
0
votes
1answer
40 views

Probems using 2 For and a AppendTo to cycle through my Equation to solve some matrixes

I am trying to solve a few problems here. I have an equation with multiple variables that I am trying to solve in For loop method. I will attach the file below. In addition I am trying to get it to ...
1
vote
2answers
88 views

Add marks in multiple functions in Plot

I am looking for any options to draw 2D plot of differently marked curves for given functions, thus one can distinguish it by the provided legend. For instance: ...
1
vote
2answers
57 views

Logarithmic scale in an ParametricPlot obtained from ODE boundary conditions

How do I plot an ParametricPlot with the x-axis using an logarithmic scale? Since I need to use an ParametricPlot, I can not use the LogLinPlot[] and I also was not able to find any viable Solution in ...
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
136 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
55 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
451 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
80 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
72 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
128 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
125 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
153 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: ...