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

learn more… | top users | synonyms (6)

2
votes
0answers
14 views

ArrayPlot: colours depend on image size?

ArrayPlot is giving me incorrect colours when the image size is less than about 10.5 times the number of pixels in the input array. For example, ...
4
votes
2answers
88 views

Module inside of Manipulate Example

Here is a very nice example from The Student's Introduction to MATHEMATICA. ...
5
votes
1answer
83 views

Why does the degree symbol disrupt this FrameLabel?

This plot Plot[x, {x, 0, 1}, FrameLabel -> {"x", "temperature / \[Degree]C"}, Frame -> True] displays beautifully, but exporting to PDF ...
6
votes
1answer
140 views

Mathematica 10, Show, and PlotRange

I have recently moved from Mathematica 8 to Mathematica 10, however I'm having a problem with PlotRange->All in combination with Show[]. For example, ...
13
votes
5answers
890 views

Plot list of million points

I am working on large datasets of size $10\times 10^6$ and would like to visualize these in Mathematica, but they take lot of time to plot. How can I speed it up? I also want to save the plots as ...
4
votes
1answer
67 views

ImplicitRegion gives arbitrary boundaries

equation1 is the major unbounded region I would like to generate ...
7
votes
1answer
316 views

Missing tick in plot

Bug introduced in 10.0.1 and persisting through 10.2.0 Consider this ...
1
vote
0answers
34 views

Plot is wrong for oscillating function [duplicate]

It doesnt even oscillate that much Plot[Exp[-Pi x^2 + I ( 60 1/(x^2 + .6) + 0.2)] // Re, {x, -2, 2}, PlotRange -> Full, MaxRecursion -> 15] What is ...
8
votes
3answers
132 views

How can I change the thickness of tick marks in BarLegend?

This answer explains how to change various undocumented options for BarLegend with Method. In particular, I want to change the ...
3
votes
2answers
238 views

3D Gamma function

I try to plot the following function: Plot3D[Gamma[1+0.5*(n+m)]/Sqrt[Gamma[1+n]*Gamma[1+m]],{n,0,1000},{m,0,1000}] I expect that for m=n and near to it the value ...
-3
votes
0answers
39 views

Plot experimental data from .dat file [on hold]

I have a huge table of 42 columns of data in a .dat file, which I need to plot as a 3d-plot. How can I do that?
4
votes
0answers
36 views

ListLogPlot error when forcing y axes start at 0

I came across an error I can not circumvent. When plotting the following: ListLogPlot[Table[1/x, {x, 1, 100}]] I receive a functioning plot. If I now want to ...
57
votes
5answers
6k views

ListPlot: Plotting large data fast

Mathematica produces fantastic-looking graphics, but it can be slow on large data sets. Here is an example for a (random) time series: ...
2
votes
1answer
33 views

DateListPlot incorrect time zone

I'm trying to plot energy usage over time using datelistplot but the time zone on the ticks is wrong, data for 7pm shows as 3am The code: ...
13
votes
1answer
90 views

Change in Lighting and Show in V10?

According the documentation for Show: Options explicitly specified in Show override those included in the graphics ...
8
votes
3answers
176 views

Part of an Image cut/lost when exported to EPS file

When making .EPS image files for publication, I tried to assemble several Graphics by Grid. For example, suppose I have: ...
15
votes
0answers
215 views

RegionPlot returning a number

Bug introduced in 10.0 and persisting through 10.2 or later I had updated my mathematica to version 10 few days ago. And I had been shocked by the following fact: ...
0
votes
0answers
24 views

Why does my contour plot have missing blotches? [on hold]

I think it may have to do with areas on the plot that are very small in value.
8
votes
2answers
639 views

Problem with ContourPlot3D

Bug introduced in 7.0 and fixed in 9.0.1 The following line works fine: ...
7
votes
3answers
566 views

Plotting a 3D list causes kernel to crash if x and y axes have vastly different scales

Bug introduced in 7.0.1 or earlier and fixed in 10.0.2 or earlier I have access to two versions of Mathematica, version 7.0.1 on Linux and version 8 on Windows. When I try the following two lines ...
3
votes
3answers
164 views

Inefficient NIntegrate and Which

In version 10 a simple numerical integraton of piecewise function is highly inefficient: ...
0
votes
0answers
34 views

How to change number form of Plot Legend in ListContourPlot? [on hold]

I am creating a ListContourPlot from some very large values. I would like these numbers to be written out in scientific notation (8x10^8, etc.) I've tried the following code: ...
6
votes
2answers
240 views
6
votes
0answers
36 views

Override a PlotTheme element at the Options level?

Plot properties defined in a Theme override (supersede) properties defined on Options. This can be undesirable in a case such as: ...
0
votes
1answer
105 views

How may I avoid ParametricPlot3D clipping? [duplicate]

What I am doing: ParametricPlot3D[{Cos[z/2]^6 * Cos[t],Cos[z/2]^6 * Sin[t], z}, {t,-Pi, Pi},{z,-Pi,Pi}] What I get: What I want: what I get, but without the ...
0
votes
0answers
21 views

Vector field plot not appearing in VectorPlot3D

I am having trouble in plotting the vector fields - Bfield and Avector - with the VectorPlot3D function. Here is the code used to Compute Bfield and Avector: ...
8
votes
1answer
92 views

Iterator variable not blocked in ParametricPlot

Bug introduced in 10.0 and persisting through 10.2 or later It appears that perhaps the iterator variable r is not Block-ed ...
11
votes
0answers
202 views

Bug in plotting function using FindMinimum?

Bug introduced in 10.0 and persisting through 10.2 or later While working on an answer to RegionPlot from NDSolve, I came across this strange behavior of ...
4
votes
1answer
106 views

LogLogPlot plugs in zero

Bug introduced in 10.0 and fixed in 10.0.2 In testing the answers to Plot result of non analytical-integral in V10.0.1, I came across this behavior of ...
0
votes
1answer
57 views

Plot a circle and create a 3-D revolution plot out of it

If I have the equation (x-2)^2 + (y-2)^2 == 1 I can use a ContourPlot, however am having trouble changing the axes origin. I ...
1
vote
0answers
33 views
1
vote
1answer
76 views

How to plot a function defined by an expression containing integrals [duplicate]

It seems Mathematica does not like it when it is given a function defined by an integral to plot. How would one plot a function $F(x)=\int_0^x\int_0^xf(t,s)dtds$ on a given interval? Edit In ...
6
votes
2answers
99 views

PlotLegends “Expressions” default for ListPlot?

gwr pointed out an apparent problem with setting a default Option value of PlotLegends for DateListPlot. I traced the problem ...
0
votes
1answer
112 views

Plotting curves with different filling styles and gridlines? [duplicate]

Here's a plot of some lines with different styles of filling and one gridline displayed: ...
0
votes
1answer
157 views

RegionPlot of an area inside a polar plot (or its equivalent parametric plot)

Let' s take a most simple example for a polar plot, the Archimede's spiral. ...
1
vote
2answers
90 views

Plotting a function with implicitly defined variable

I have a question about plotting a function with an implicitly defined variable. I think the solution should be something similar like here: Define a function with variables linked implicitly but I ...
3
votes
2answers
203 views

Storing Variables in “Loops” and Point Plotting

Given the function $y=\sin x$ defined over the region $-\pi \leq x \leq \pi$, I need to implement a "do loop" such that I sweep over 100 or so points $-1 \leq y \leq 1$ and find precisely the two $x$ ...
0
votes
0answers
58 views

DateListPlot not showing data from a data bin [on hold]

I'm trying to plot a databin using mathematica online and this is my code: DateListPlot[Databin["640I6KQm"]] All that happens is data added manually shows up. ...
0
votes
1answer
62 views

Sum with 2 different variables

I want to plot Contour or Streamplot a function with a sum. The first part (Abs[v/u]>1) looks like this: $L(u,v)=\sum_{s=0}^\infty \frac{(-1)^s}{2s+1} ...
0
votes
1answer
80 views

Variable ViewPoint coordinates [duplicate]

Can I use the option ViewPoint on Graphics3D[], with its setting a variable function? For example: ...
1
vote
1answer
48 views

Plotting function in cylindrical coordinates (r,theta,z) [duplicate]

I have a function of two variables (r,theta), and I would like to plot it as a surface using cylindrical coordinates. Based on my research, there is no built mathematica function for plotting ...
2
votes
1answer
126 views

Visualizing how the zeros for this function change as its input parameter changes?

I'm trying to explore how the zeros of a certain parameterized function change as its parameter changes. ...
5
votes
2answers
130 views

What is the syntax to conditionally suppress plotting in version 9?

Bug introduced in 9.0 and fixed in 9.0.1 In Mathematica 7 it is very easy to conditionally suppress plotting of individual lines using If: ...
0
votes
0answers
49 views

The graph of a piecewise function [on hold]

Let $$f(x)=\begin{cases} n,\quad\text{if }\quad n<x<n+\frac{1}{n^3}, \\ 0,\quad\text{if }\quad n+\frac{1}{n^3}\leq x\leq n+1 , \end{cases}$$ Using mathematica, I attempted to draw the graph ...
2
votes
1answer
92 views

trajectory density plot

I want to make a plot that shows the density of trajectories (x-y plots). In other words I want a plot that's analogous to this but with curves instead of points as data. Here's what I'm doing ...