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

learn more… | top users | synonyms (6)

3
votes
2answers
197 views

Piechart-how to wrap the words

In my pie chart, it's almost there. Can I wrap some words? like putting "Profit versus Objectives" t0 three lines, but still in the right sector. ...
4
votes
2answers
246 views

Plots using TextAlignment with SwatchLegend to left align multi-line items

I have Legends that stretch over multi-lines and the only way I can get them left aligned is by adding white space to the end of the legend item. Does anyone know if there is a way to use ...
1
vote
2answers
178 views
11
votes
0answers
281 views

Strange filling

I observed some strange behaviour when plotting a function with filling. The code is as follows: ...
1
vote
2answers
312 views

Plotting bipartite graph from adjacency matrix

I have an $m\times n$ matrix $A$ representing the adjacencies between the nodes of a bipartite graph. Specifically, the nodes are arranged in two partitions, of $m$ and $n$ nodes respectively, such ...
0
votes
1answer
214 views

ListDensityPlot with discrete bins [duplicate]

We consider a table of the form data = Flatten[Table[{i,j,f[i,j]},{i,1,ni},{j,1,nj}],1] The function f[i_,j_] has been made ...
3
votes
1answer
152 views

plot Contourplot simple

...
5
votes
1answer
546 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
272 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
444 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
116 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
153 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
327 views

ListDensityPlot

In Mathematica help it's written that: ListDensityPlot[array] -> generates a smooth density plot from an array of values. ...
10
votes
4answers
612 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
261 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
260 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
382 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
490 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
108 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
273 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
182 views

How to plot a consecutive set of data?

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

ParallelTable and plotting result of own define funtion

I define function which return a list of numbers ...
4
votes
1answer
180 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
133 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
473 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
509 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
272 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
622 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
185 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
167 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
97 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
663 views

Stacked Line Graph with fragmented data

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

Adjust the opacity of the lines in a ListPlot

Here is what I am trying to plot: ...
0
votes
0answers
107 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
207 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
175 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
370 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
268 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
185 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
223 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
377 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
954 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
247 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
202 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? ...