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

learn more… | top users | synonyms (6)

5
votes
1answer
502 views

Preparing 2d plots for publication

When it comes to plotting a data my general attitude is to avoid post processing (say with adobe illustrator) as much as possible. To follow this strategy I would like to prepare publication-ready pdf ...
0
votes
1answer
1k views
3
votes
2answers
264 views

Contour coloring and (List)ContourPlot projection

I have two questions concerning (List)ContourPlots. Since they are related to a single visualization desire, I have combined the questions into a single post. I'm hoping that they will be easy to ...
2
votes
1answer
193 views

Plotting attributes of vertices in WattsStrogatzGraphDistribution[n, p, k]

I have a graph WS = RandomGraph[WattsStrogatzGraphDistribution[n, p, k]]. I need to plot several characteristics of each v: the ...
7
votes
2answers
439 views

How to plot this function?

I'd like to plot the function $f$ in this answer http://math.stackexchange.com/a/788818/66096 Let $h(x) = \begin{cases} e^{ -\frac{1}{1 - (1-2x)^2}} & \mbox{ for } 0<x < 1\\ 0 & ...
2
votes
2answers
113 views

Componentwise Addition of TemporalData

I'm a little confused with the TemporalData structure in Mathematica, in the sense that it doesn't seem to behave like a list. What I'd like to do is plot the sum ...
3
votes
1answer
147 views

Plot solution of equation with shift

For example I have an equation $F[x,y]==0$. Let $S$ is a set of solutions of equation. $(a,b) \in S \leftrightarrow F[a,b]=0$. I wanna draw a set $\{(a,b) + \operatorname{grad} F (a,b) : (a,b) \in ...
2
votes
1answer
316 views

ListDensityPlot

In Mathematica help it's written that: ListDensityPlot[array] -> generates a smooth density plot from an array of values. ...
10
votes
4answers
592 views

How to create Line Chart with real third coordinates?

I would like to generate something like 3D Line Chart in Excel. Like the following figure but including third coordinates. Example I have a set of 2D data combied with 1D spatial data. ...
2
votes
1answer
251 views

Label x-axis of Plot with power of two values

I want to make a plot similar to LogLinearPlot, but with power of 2 ticks instead of 10 on x axis. ...
2
votes
1answer
251 views

Perspective transformation of a 2d streamplot

I have a two-dimensional streamline plot from a fluid dynamics simulation. I am wondering: is it possible to somehow allow Mathematica to treat the streamline plot as a plane in three-dimensional ...
4
votes
1answer
372 views

How do I make the color of arrowheads in a graph different from the colors of the arrows?

I'm graphing a Markov process mp = DiscreteMarkovProcess[{1, 0, 0}, ({ {0.6, 0.1, 0.3}, {0.2, 0.7, 0.1}, {0.3, 0.3, 0.4} })]; and would like ...
6
votes
3answers
486 views

How to use PlotRange -> All with ListLogLinearPlot?

Bug introduced in 8.0 and fixed in 10.0.0 I would like to generate a ListLogLinearPlot that automatically shows all the data points. However the option ...
0
votes
1answer
102 views

Suppress negative y-axis in ListLinePlot even if all values are zero?

I have some lists that will always contain non-negative values, sometimes all zeros. Whatever non-negative values appear in the list, I would like the plots to appear without a negative y-axis. I'll ...
5
votes
1answer
270 views

Strange opacity behavior

I edited my question and included the code: here I make the general definitions for the parametric plots I have to do later (these are simply the definitions of the x and y coordinates of the points ...
2
votes
2answers
180 views

How to plot a consecutive set of data?

I want to plot a series of data point: ...
0
votes
1answer
67 views

ParallelTable and plotting result of own define funtion

I define function which return a list of numbers ...
4
votes
1answer
176 views

“Legended” not working with “Plot” or “LogLinearPlot”

Version 9 has a new option Legended, which I find appealing since it should allow me to add individual expressions/curves to a legend, but it doesn't seem to be ...
0
votes
2answers
131 views

Having problems with ListPlot and a PaddedForm wrapper

I defined a function f[x_] = x^3 2 x. Then I had to construct a table showing vertically, the values of f corresponding to x on ...
0
votes
1answer
458 views

Can't plot recursive function

I am new to Mathematica and now I could use some help. Trying to plot any of these functions generates a $RecursionLimit exception and I am wondering why. ...
0
votes
1answer
69 views

Switching the plot variable when plotting a two-variable function as a single variable function with a parameter

I would like to make easy to change the variable for which I am making a set of plots. Say I want to plot Sin, Tan, Cos and other functions of the same argument. To quickly switch from plotting it as ...
3
votes
3answers
1k views

How do I plot two Gaussians/normal distributions with 2 different means and 2 different standard deviations?

This is probably very easy for someone with more experience, but I am trying to plot only two Normal distributions, but for some reason my Method plots 4, instead of 2. I have: ...
2
votes
2answers
497 views

List density plot for non-uniform data

I am trying to make a density plot to show the data that can found here. I tried with GNUplot previously. The result of GNUplot density plot for a rectangular set of data. I am able to do this only ...
2
votes
3answers
262 views

Why does Dynamic for PlotRange in ListLinePlot prevent the proper range from being used?

I am using Manipulate to simulate Brownian motion. I want to be able to zoom in. Thus, I want to use Dynamic for the ...
2
votes
2answers
589 views

How to make lines in Plot Legends wider?

1.- How to put DASHED lines in the Legend? 2.- How to give Style to {20,Bold} to all "Expressions in Legend? (I use LegendMarkSize for make lines wider than default fine style ) ...
3
votes
1answer
182 views

Zooming into animated plot

Let's say I have the following animation: Animate[ParametricPlot[{Cos[a t], Sin[a t]}, {t, 0, 1}], {a, 0, 2Pi}, AnimationRate -> 0.1] Is there a way to ...
5
votes
1answer
162 views

SmoothHistogram with sharp boundary [duplicate]

When using SmoothHistogram (to plot probability distribution function), I noticed that the edge of the figure is automatically smoothed towards zero probability. ...
0
votes
0answers
27 views

How to put the values/points in a loop into a plot? [duplicate]

I've already make the do loop..it has 200 points..how am i going to put those points into a plot?do i need to make a list@table before doing the plot?here's my loop example, ...
2
votes
1answer
95 views

LogPlot and LogLogPlot do not output their legends correctly

When I give lists of functions to LogPlot or LogLogPlot with the option of PlotLegends, ...
6
votes
1answer
630 views

Stacked Line Graph with fragmented data

Let's start with what I already found on the internet: ...
5
votes
1answer
167 views

Adjust the opacity of the lines in a ListPlot

Here is what I am trying to plot: ...
0
votes
0answers
102 views

How to save the results in an identical Excel file (.xls) in each iteration of a Do loop

Assume the following code (Below code is just an example to clearly illustrate my problem): ...
7
votes
1answer
206 views

Plotting plain data (single value lists) in 3D

Some Chemistry data sets I am trying to plot some titration data with Mathematica. I have done 4 experiments and gathered around 70 pH points (one for each milliliter) during each session, and ...
1
vote
3answers
174 views

How to make list plot when all information is in a single list

I want to make a plot , where the data is structured like so { {"l1", "l2"}, n1, n2, n3} } The values in the inner sub list are labels which are associated with ...
1
vote
1answer
360 views

Multiple plots on same graph for different parameter?

I would like to be able to Plot a function (with an implicit Integrate command) with various values for a certain parameter ...
7
votes
2answers
264 views

Mesh at Ticks positions

In a ListPlot3D[ ] I want to have the Mesh at the same positions as the ticks. For some reason this isn't default if both are ...
2
votes
1answer
180 views

Manipulate for variable number of sliders

I'm trying to use Manipulate for plotting multidimensional data, where higher dimensions are defined as sliders. First, this simple example works: ...
3
votes
3answers
218 views

Center Diverging color map on a matrix plot

I want to use the color function "RedBlueTones" and I want to center the map at a number. Then I want to blend in the red direction of I am greater than that number and blend in the blue direction if ...
0
votes
0answers
71 views

add a legend show the expression for each contour?

I am trying to visualizing the unit circle under different norm functions, here is the code: ...
4
votes
3answers
368 views

How to use the same colors in Epilog and Plot

How can you use the same colour to the data in Epilog as the data in the ListLinePlot? I am plotting 25 lists (4 in this ...
0
votes
2answers
872 views

How to put x-Label below the x-Axis? [duplicate]

How to put label "Iterations" below x-axis? Possibly in an easy way without multiple commands. ...
0
votes
1answer
239 views

How to plot a region bounded by three equations?

I'm very new to this website. I am having trouble plotting a 3 dimensional region bounded by these equations: ...
3
votes
3answers
200 views

Combining two plots with inverted xy-axes

I need to draw a set of curves on one graph (characteristics equations). As you can see they have exchanged x and y axes. My goal is to plot all those curves on one graph. Are there ways to do that? ...
1
vote
0answers
31 views

How to Plot a function that returns multiple values? [duplicate]

I have a function that returns multiple values, like this: f[x_] := ( (*... something ... *); {y1, y2}); They are computed together, so there's absolutely no ...
0
votes
1answer
86 views

Blank plot that shows up briefly when changing plot options

I wrote some code in Mathematica to calculate and plot, in tw0 different ways, a function depending of two variables. But the plots are empty even if it takes a few minutes to evaluate the plot ...
2
votes
1answer
128 views

Histogram scale error when using DistributionChart

I'm a novice Mathematica user that is having some problems using the HistogramDensity function in a DistributionChart. My observations are heavily skewed to one category and the height of the other ...
0
votes
0answers
65 views

Using NSolve in a function, selecting one indexed result and using it to plot another function containing a function containing the indexed result

I have a problem using the result pcvar[g] g e (0,1) in the plot cvar1. In the plot cvar I can use it. It must be somehow connected to clearing p in the definition of pcvar[g]. I am gratefull for any ...
12
votes
1answer
928 views

Creating a Mathieu stability diagram

I am attempting to re-create a Mathieu stability diagram like the one shown here: I expected that I could use MathieuC to generate this graph by assuming that ...
3
votes
0answers
284 views

Function with a sharp resonance which Mathematica fails to integrate. Why?

I'm a new user of Mathematica and I'm trying to use it to calculate the collisional cross-section as a function of energy for a given potential and decay rate. I know that the resulting function ...
-3
votes
1answer
130 views

How to show a general graphic (not a Plot) inside a Manipulate

I'm building a little interface, which consists only of a button, as you can see here: ...