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

learn more… | top users | synonyms (11)

3
votes
2answers
42 views

Ticks and range in PairedBarChart

I am trying to change the ticks and range in a PairedBarChartbecause one of the ranges is much smaller than the other. How can I do this? ...
1
vote
2answers
77 views

Problems with formatting PlotLegends text [closed]

To avoid issues, I post here the photo to explain you better what my problem is. So what I would like to have, is a "correct" writings of the legend text for the Blue function. I would like it to ...
0
votes
1answer
37 views

Using copy as I get an error [duplicate]

When I try to copy a plot file as a LaTex file I get the following error, TeXForm of ...
2
votes
6answers
137 views

Color points in list plot based on whether they satisfy an equation

I wanted to create a set of points (a,b) such that a, b are both integers between -6 and 6. Then I want to color all points (a,b) that satisfy $|a-b|\ge2$ red, and all the remaining points blue. I ...
1
vote
0answers
64 views

Given vector of function plot each of them separately? [closed]

At the moment, I am trying to plot a vector of functions which consists of the change along $x$, $y$, and $z$. Is it possible in Mathematica to give a vector of functions and plot them separately ...
3
votes
1answer
110 views

How to plot data with domain on a circle?

I've got a list of data of the form {{0,x0},...,{359,x359}}, which represents some experimental results given in polar coordinates with fixed radius. How to plot ...
5
votes
3answers
322 views

Histogram of a very large dataset?

I have a very large dataset stored in a file (over 2GB). The file contains a tab-separated table of floating-point numbers. I want to do an Histogram of all the numbers in the table. But if I try to ...
0
votes
0answers
87 views

solving an equation containing an complex integral

I want to solve a numerical equation which include an integral. The problem parameters are : w (is a complex : w = wr +I wi), ...
0
votes
0answers
109 views

Given $y$, find the $x$ value of a point on a Bezier curve

I have linear equation of Bezier curve with one control point: f[x_] := (1 – t)^2 x0 + 2 (1 – t) t x1 + t^2 x2; f[y_] := (1 – t)^2 y0 + 2 (1 – t) t y1 + t^2 y2; ...
2
votes
2answers
188 views

Converting a 3D Plot to a Region Plot [duplicate]

I have a 3D Plot with 3 separate functions for z in terms of x and y. I would like to ...
7
votes
1answer
187 views

Clustered heatmaps with dendrograms

In biology it's common to cluster both dimensions of a matrix, display it as a heatmap (MatrixPlot, ArrayPlot) and show ...
0
votes
1answer
162 views

Join points or draw lines between them on a torus [duplicate]

First I would have liked to map points and texture from a square map (box) in agent-based modellers to a torus. ...
10
votes
2answers
345 views

How to automatically have ContourLabels in middle of Contour lines if specific levels are not specified?

I looked at all the questions/answers relating to placement of ContourLabels but could not find an answer to this. Some of the answers before are based on user ...
3
votes
2answers
103 views

Set PlotLabel length

This is a small adjustment I am making to a nice presentation from Welwyn Hollis's CalcLabs, Mathematica, Singe Variable Calculus. ...
1
vote
1answer
121 views

DensityPlot showing artifacts [closed]

This is my first post on Mathematica.SE, and I'm still a bit new to Mathematica. I believe I'm probably doing something silly in my code, but I have not been able to find where. I'm trying to plot a ...
-1
votes
1answer
90 views

Parametric solving a nonlinear equation and plotting answer [closed]

I want to get x and y as a function of z in below nonlinear equations and plot ...
2
votes
1answer
326 views

Map points on a square onto a Torus

I would like to create a 3D torus plot from a 2D graphic. This 2D original plot is a bit complex, and I haven't a clue how could transform it to a torus. The below code, from this article posted on ...
2
votes
2answers
126 views

Plotting a function defined to be infinite over a sub-domain [duplicate]

I'm trying to plot the following function with the constraints shown, $$f(x)=\begin{cases} \infty \quad x<0 \\ A\,x\quad x\ge 0 \end{cases}$$ However I can't work out how to show this in ...
6
votes
2answers
104 views

Inset in ArrayPlot

It seems the options in the Inset object will be ignored when passing to ArrayPlot: ...
0
votes
0answers
43 views

Problem displaying “/” correctly in exported svg file of Plot in Mathematica 8

In a plot, I use "/" on the axes labels to denote units. E.g. "t/s" meaning time in seconds. I believe this is pretty standard in Physics. ...
1
vote
1answer
72 views

How to adjust vector scaling with a specific aspect ratio

I'm trying to create a vector plot with uniform vector scaling. I need the x and y ranges to be very different, because I need to highlight the angle between the vectors and the y=0 axis. This means ...
3
votes
1answer
134 views

Skipping certain items in PlotLegend

I've the following code: ...
11
votes
3answers
464 views

Overlay vs Show to combine plots?

I am trying to understand the differences of Overlay and Show to combine two plots. A typical use case is to superpose a ...
4
votes
1answer
147 views

Why the Spectrogram can't plot correctly?

The same data lead two different graph. Plot[E^(-Pi*(t - 5)^2), {t, -10, 10}, PlotRange -> All] The method to plot the spectrogram use the build-in ...
5
votes
3answers
149 views

How to get a line density from list density plot?

I have a list density plot from a list ls={{x1,y1,z1},{x2,y2,z2}}.... How can I extract the line density with a fix y, such that ...
7
votes
2answers
142 views

Panning with Mouse + Moving A Curve

I would like to be able to move any curve (for example f(x)=x, or g(x)=x^2) by mouse dragging the particular curve. I would like to keep the functionality I have for panning across the screen in ...
-1
votes
1answer
95 views

Solution of differential equation using other differential equation [on hold]

I have a differential equation $y'(t)+2a\sqrt{e+y(t)+1}=h-2a$ where $e,h$ and $a$ are constants with the terminal condition $y(T)=0$; $T$ may be 10 or 12... etc. And $x'(t)+(a/\sqrt{e+y(t)+1}) ...
3
votes
1answer
95 views

Is the real spherical harmonic (l = 1, m = 0) really 'bigger' than (l = 1, m = 1)?

Using SphericalPlot3D to plot the real spherical harmonic with l = 1 and m = 0: ...
1
vote
0answers
44 views

Why isn't Options[] finding all options? [closed]

I've created a plot with 3 non default options. See below. I would like to list these options using the Option[] function. When calling Options on the the plot, ...
10
votes
4answers
363 views

Panning with Mouse

This is related to the question i just asked here but not the same. How could i create a manipulate that lets me move the graph to any position i want by clicking and dragging anywhere. Here is an ...
3
votes
2answers
103 views

Plotting a DateListPlot and a CandleStickChart together

I'm trying to plot a DateListPlot and a CandleStickChart together. Initially I was trying to add a FinancialIndicator by spelunking TradingChart, but it's quite complex, I think I could manage to do ...
1
vote
2answers
100 views

Epilog doesn't work with ListLogPlot

We have data series: ...
0
votes
1answer
87 views

Solving an equation and ODE simultaneously [closed]

I have a differential equation like $y'+a*y+b=0$. I have to find the value of $u=c*y+d$. These are the simplified form of the ODE and equation. Also, I have to plot $y$ and $u$ together.
6
votes
2answers
222 views

Dynamic plot with synchronization of real time

I want to do a dynamic plot with synchronization of real time, that is, I have a function, f[t], that is a function of time (seconds), so I want to see the curve changing not so fast or not so slow, ...
7
votes
3answers
235 views

Panning by moving Origin (0,0) with Mouse

Given a 10 by 10 grid like the one below and the axis origin somewhere on the grid, I would like to be able to place the mouse pointer at the axes origin (0,0), then press and hold the mouse button ...
4
votes
3answers
135 views

How do I plot EventSeries?

The documentation that I can find suggests that I should be able to plot an EventSeries with DateListPlot. But this doesn't work ...
4
votes
2answers
74 views

putting two lists in one ListLogPlot by one modified list

I imported two sets data one: ...
5
votes
1answer
85 views

Joined line does not match with PlotStyle

If I have a list data (http://pastebin.com/RgWLJmTS) which is about to be plotted with ...
1
vote
1answer
76 views

Joined-True cuts data to be plotted

I have imported data (which are so many numbers and if necessary please see http://pastebin.com/RgWLJmTS) and I plotted them with ...
3
votes
1answer
93 views

SmoothHistogram3D with a ColorFunction representing z-values of the data set

I'd like to make a 3d plot of a list of {x, y, z} points, where the height of the plot scales with the density (as in histogram) of the xy-values and the color ...
5
votes
4answers
145 views

How to correct the name of axis?

In the output of a code I can view that the same axe has two names "z" and "x". How could I correct this? The code is ...
3
votes
2answers
130 views

Changing location and direction of axes

I need to produce a plot that looks something like this: from a function definition where z (the vertical axis) is the independent variable. I can easily invert ...
0
votes
1answer
86 views

Manipulate a graph from data

I want to manipulate some data, to do this i create a graph. But i don´t know how to manipulate the data. ...
3
votes
2answers
128 views

ListPlot: Adding Line with Epilog to automatic GridLines - adjusting Style

I want to draw ListPlots with automatic GridLines and add a custom line. My solution is to use the Epilog option. To make sure that the automatic GridLines and my custom line have the same style, I ...
5
votes
1answer
257 views

How to plot graphics objects such as lines or polygons logarithmically

I am making ListLogLog plots with polygons in the Prolog and lines in the Epilog, and I want ...
3
votes
1answer
113 views

Why is TimeSeriesForecast linear?

When I use FinancialData with TimeSeriesForecast, the resulting graph is always linear and thus not very accurate. ...
1
vote
1answer
93 views

Plotting a horizontal parabola using Plot[ ] with one function [closed]

I understand plotting a horizontal parabola using this: Plot[{Sqrt[x], -Sqrt[x]},{x, -10, 10}] but I don't understand how to plot the same curve using $x=y^2$. ...
4
votes
1answer
76 views

Adding line parallel to quantile plot reference line

I want to compare two list in a quantile plot QuantilePlot[{1, 2, 3, 5, 8}, {2, 3, 6, 9, 10}] I now want to add a black line parallel to the reference line, like ...
1
vote
0answers
56 views

How to align/grid several plots(mXn) in one figure? [duplicate]

I run Mathematica 10.0.2 on my Win7. I'm trying to make a PDF for publication similar to figure below: This is a figure containing a 4X3 image. The feature in image is irrelevant, my point is to ...
6
votes
2answers
103 views

How to scale values for ColorFunction in SliceContourPlot3D?

Trying to help out in the question, Finite Elements 3D, I came across this behavior of SliceContourPlot3D: ...