# Tagged Questions

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

1k views

### Define a color function based on color samples obtained from ColorBrewer

I am quite new to Mathematica and I am searching for a way to create a smooth colormap based on the samples given by ColorBrewer. Is it possible to create a interpolated function from those sample ...
472 views

### BarChart with BarOrigin->Left: axis on top

This question is somewhat related to this one. Let's say this is the BarChart i want to make: ...
843 views

### ColorFunction and/or ColorScaling issue with ParametricPlot3D

My goal is to use ColorFunction to color a cylinder based on the $z$ value of a separate Plot3D. I'm not sure if I am making a ...
801 views

### Create filling between two trig functions

Working with trig functions, period, amplitude, etc. I found a worksheet at a calculus website, with some nice questions related to interpreting trig functions, at least, they provide some "fun" ...
464 views

### Plot maximum and minimum temperature of a day for range of time interval

How to display (in any graphic representation) the maximum and minimum temperatures for one city in one of these selected time periods over the 5-day period? The time periods are: Morning (06:00 to ...
2k views

### Prevent Part[] from trying to extract parts of symbolic expressions

If you have a list, e.g. {1, 2, 3} then you can extract the $k$th part using Part (...
1k views

### How to print coordinates above certain points

How do I place the x and y values of the points I have found (maxandmindistance) above the point in a plot? Here is my code so far: ...
116 views

### How do I stack a RectangleChart?

What I would like to do is represent the state of a machine over a period of time using a RectangleChart (or anything else that can do it) . The chart will need to be made up of equally sized blocks ...
1k views

### How to find all roots and maxima and minima and graph them

I need to find all the roots of this function. I know it is simple to find by hand, however, I wish to learn how to do it so I can apply it later. The problem is that it only gives me one root. <...
589 views

### An elegant way to plot a numeric function that returns a list, and have each element in a different color [duplicate]

I have a function that takes a numeric argument and returns a list of numbers. I want to plot each element of the list in a different color. If I use this command, ...
815 views

### Log-scale histogram bug

Not really a question, more a solution to what I call a bug in mathematica v8(.0.0.4). I already sent a bug report to Wolfram. Problem The documentation for the Histogram-function explains the ...
4k views

### How to insert a plot into another plot

I would like to know whether there is a way to insert a plot into another plot. I would like to do some plot from a function an then, inside this plot, in the right down corner add a smaller plot of ...
699 views

### Dual-Grid Graph Paper With Mathematica?

Is there a slick way to generate the dual-grid graphs such as you can see on pages 7, 9, and 10 of this article, or this one? I've searched, but found nothing. Thanks in advance...
169 views

### How to take input from user?

Since I'm new to Mathematica I want to have a Notebook which takes inputs from user and returns average of the inputs entered and plots it on x-y coordinate. How can I do this?
539 views

### Plotting several numerical solutions plus the analytic solution of ODE in one plot

I want to be able to plot several numerical solutions of an ODE, plus its analytical solution in one plot, in order to see how the numerical solutions converge towards the analytical one with respect ...
1k views

### How to scale vectors in VectorPlot?

I generated some pics from 2 datum，one in $x$ direction and the other in $y$，so I used the commands: ...
3k views

### How to change the base of logarithmic-scale plots?

Mathematica provides a score of convenient functions to make plots with various logarithmic scale axes, for instance I am using ListLogLinearPlot to have a discrete ...
1k views

### Manipulating PlotRange

Currently, I am working with some dynamic simulations of mechanical/electrical systems (in this case a kitchen scale). The main simulation is running smoothly but while building a nice GUI around the ...
129 views

### How can I define an option “packet” for plots so I can only alter the definition and all plots with that “packet” will change appearance? [duplicate]

Possible Duplicate: Consistent Plot Styles across multiple MMA files and data sets So, here's my problem; I have a lot of data that is shown in different plots. I want all the plots to have ...
2k views

### Constructing election cartograms?

I found this pretty neat page showing cartograms for the US elections and I don't really know how to get started doing these graphics in Mathematica. For those who don't know, a cartogram is a map in ...
321 views

### Table not working with Plot

Because NIntegrate[] does not support parallel computation out of the box, I'm doing a simplified version by breaking the integration limit into pieces and using <...
304 views

### Overlay of pdf using PairedHistogram in Mathematica

With a standard 1D histogram, I can generate a pdf overlay using Show and Plot. I'd like to do something similar with ...
3k views

### How do I switch between dashed and undashed styles in ParametricPlot?

I am trying to generate a parametric plot in Mathematica 8 using the following: ...
91 views

### Width of two plots [duplicate]

Possible Duplicate: Vertically aligning two separate plots Trying to illustrate the sums of functions, high school math class... Found a great demonstration on interference patterns, so used ...
735 views

### White regions in DensityPlot — is this a bug with ColorFunctionScaling?

Is this a bug with ColorFunctionScaling? When I try to supply my own ColorFunction Mathematica seems to partially ignore it, ...
358 views

### Plotting reordered clusters with different colors and joined lines

I would like to show how typical days of energy load (found through clustering of a years worth of data) are spread throughout a year in a single graph with a color for each 'typical day' (or cluster)....
5k views

### Getting a list of accurate coordinates from a plot

I have encountered this problem of getting a list of accurate coordinates from a plot. Upon searching online, the best method of doing so is to right-click on the plot and select "Get Coordinates". ...
224 views

### BoxWhiskerChart - Displaying Frameticks Bottom and Top

Is there an easy way to display Automatically the Frameticks at the bottom and top in a BoxWhiskerChart? Currently it is only showing the numbers at the bottom. ...
3k views

### How do I plot the unit normal field for a surface?

The question is pretty much in the title; I'm about to teach my multivariable calculus students about orientations on surfaces, and I would like to be able to show them pictures. Any ideas?
886 views

312 views

### Plotting a dot product

From a conic equation obtained from a dot product, I want to plot its 2D graph, while being able to manipulate the variable. ...
585 views

### How can I prevent ColorFunction from disabling antialiasing in graphics?

When I use ColorFunction, the appearance of my plots is ruined, changing from this which has the normal smooth lines and antialiased fonts, to this in which ...
2k views

### How to assign different colors to list plotted in ParametricPlot? [duplicate]

Possible Duplicate: Difference in Plot when using Evaluate vs when not using Evaluate I am plotting galaxies and I would like to color them according to their redshift values using a ...
3k views

### How do I plot x[t] vs. x'[t] (where x[t] and x'[t] are solutions to NDSolve)?

I have a differential equation which I solved using NDSolve. I can easily plot x[t] vs. t, x'[t] vs. t, but.... how do I plot x[t] vs. x'[t]? I tried using the Evaluate function to simplify things, ...
4k views

### Joining and interpolating data points

I wonder what is the best practice for interpolating curves? Usually, I'm using BSplineCurve and adjusting SplineWeights so it ...
803 views

### Inconsistency in Histogram's “Probability” Binsize

Context Let me define a Probability distribution (following the documentation and with some connection to this question) ...
1k views

### How can I create facetted histograms?

I love Mathematica, and I would love to be able to use it for all of my data analysis tasks, but there is one type of analysis which I find almost trivial in R, and I have no idea how to approach in ...
150 views

### Specifying a graphics object for the width of a median marker

In a previously posted question VLC used the element specification {"MedianMarker", filledCircle[10], Black} in a box and whisker chart, where ...
1k views

### Plotting graphics as ASCII plots

I'm occasionally in a situation where I have to use Mathematica on the terminal. I'd like to visualize the solutions I get from NDSolve, but when I use ...
1k views

### How to make vertical frame label read top down

In Mathematica, default frame label will put labels at the bottom and the left. The label on the left reads from the bottom to the top. I would like to also put label on the right of the frame, but ...