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

learn more… | top users | synonyms (6)

1
vote
1answer
73 views

LogPlot hangs but Plot does not

This is a bit involved example, but I have not been able to reproduce it in more simple cases. ...
2
votes
2answers
47 views

Even with Evaluate[], Mathematica is plotting everything in the same color

The code evals[x_?NumericQ] := Eigenvalues[{{x^2, 2 x}, {x, 3 x^2}}]; Plot[Evaluate[evals[x]], {x, -1, 1}] gives both eigenvalues in the same color. I thought ...
13
votes
4answers
2k views

All curves in plot have the same style. Cannot be fixed with Evaluate[]

Usually, when I plot multiple curves in Mathematica Plot[{x,x^2,x^3},{x,0,1}] they are given different colors. However, if I try to construct a list inside the ...
3
votes
0answers
42 views

How can I avoid these defects in ContourPlot3D output?

What I do: ContourPlot3D[-x^2/17.07 + y^2 + z^2 == 1 - x^17.07, {x, -2, 2}, {y, -2, 2}, {z, -2, 2}, Mesh -> None, PlotPoints -> 16] What I get: ...
4
votes
1answer
79 views

Dipolar magnetic field lines inside a cylinder

I'm drawing the magnetic field lines of a rotating dipole (magnetic field distorded by emission of radiation). Currently, my Mathematica 7.0 code is fully working, but I'm having a constraint which I ...
-5
votes
0answers
45 views

How can I fix this hole?

What I did and what I got: ...
56
votes
4answers
4k views

Plot draws list of curves in same color when not using Evaluate

This example comes from the Mathematica documentation for Plot under Basic Examples. Can someone please explain why these are each plotted as a different color in ...
0
votes
0answers
39 views

How to inscribe a circular helix in a cylinder? [on hold]

I need a way to plot a circular helix in a cylinder on Wolfram Mathematica. Someone can help me?
1
vote
2answers
88 views

Styling the edges of a graph according to the multiplicities of the edges

I used the following code to make a simple triangle, in which the nodes have different effects each other: ...
9
votes
1answer
143 views

GeoProjection for astronomical data - wrong ticks

Here is an excellent answer to what I wanted to do, and it works like a charm. Unfortunately, when I want to change it a bit, it fails. For setting the stage, here is the datafile, and this is my ...
-1
votes
0answers
43 views

ParametricPlot3D produces no output [on hold]

When I try to run the code I show below, it doesn't plot anything. I guess ParametricPlot3D doesn't understand the functions that I defined. How can I deal with ...
0
votes
3answers
1k views

Plotting multivariable integration

If I have a multivariable integration like NIntegrate[x^2 + y^2, {x, 1, 5}, {y, 6, 10}] But I need to plot its result in terms of ...
17
votes
2answers
434 views

Using map projections with astronomical data

I noticed that all important "Geoprojections" are available in projections for a spherical reference models: GeoProjectionData function; 1 - I am trying using the sinusoidal projection for ...
0
votes
1answer
48 views

Colors on a 3D curve not working

I'm having troubles applying colors to a simple 3D curve plot. Here's the code : ...
0
votes
0answers
33 views

Real time solution of a DE with changing parameters [on hold]

I have a set of coupled differential equations (9 equations with 9 unknowns) and 9 known initial conditions to describe the motion of a quadcopter. Question: how can I make a real-time simulator out ...
16
votes
2answers
292 views

How to implement the sample-point process like the built-ins of Mathematica?

Considering that pts = {{0, 0}, {1, 1}, {2, -1}, {3, 0}, {4, -2}, {5, 1}}; f = BSplineFunction[pts] Then I can use ...
1
vote
1answer
57 views

Same scale for all the axes in Plot3D

I can't find this in the documentation. How do you force the same scale for all the axes when making a 3D plot? There is the BoxRatios option, but this only changes ...
3
votes
3answers
251 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 ...
5
votes
3answers
95 views

ImplicitRegion gives arbitrary boundaries

This question uses Mathematica 10.2.0.0. equation1 is the major unbounded region I would like to generate: ...
22
votes
8answers
5k views

About multi-root search in Mathematica for transcendental equations

I have some questions for multiroot search for transcendental equations. Is there any clever solution to find all the roots for a transcendental equation in a specific range? Perhaps ...
5
votes
2answers
61 views

Labeling columns in grouped charts separately

I want to label sequentially some charts. Say, for instance, that I had: ...
9
votes
0answers
145 views

Behavior of TimelinePlot with multiple datasets of associations

Bug introduced in 10.1 and persisting through 10.2 or later The following TimelinePlot behaves as I would expect: ...
7
votes
0answers
116 views

One less arrow vector than asked for

Bug introduced in v10 and persisting through 10.2 or later Consider the following code: ...
0
votes
1answer
40 views

Domain Restriction for ListPlot

I constructed a table (here called 'distanceplot') with a set domain (from 0 to 100). I wish to keep this domain for the table constant. However, I shall be making multiple plots, each using a ...
1
vote
2answers
78 views

How can I remove the decimals in the frame ticks?

Is there any way to remove the decimal places in the frame ticks. I would like to make the y axis ticks integers. I use the following code. My only problem is how to manipulate the y axis without ...
7
votes
4answers
215 views

How to speed up the plotting of B-spline curve?

Three months ago, I asked a quesion about B-Spline basis function here, Today, I used this function to plot B-spline curve. The definition of $N_{i,p}$ ...
6
votes
2answers
120 views
5
votes
2answers
192 views

Labels strangely rendered in PDF

I'm new to Mathematica so I apologize if this is obvious to answer. Anyway, using the following code (most of it is extraneous, to make the plot look the way I want) I plotted the Morse potential, ...
6
votes
2answers
182 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, ...
4
votes
1answer
80 views

Evaluating documentation example crashes the kernel

Save your work before attempting: Could someone confirm what looks like a bug (definitely occurs in v10 and OSX 10.8.5): In the documentation for Background and ...
0
votes
1answer
51 views
0
votes
0answers
63 views

I want to draw my data on desktop by mathematica [on hold]

Hello Mathematica users, I have problem to set working directory, I want to draw my data on desktop , the data input file 2.data, i using mathematica 10 on mac Set Directory["~/Desktop"] please help ...
2
votes
0answers
29 views

ArrayPlot: colours depend on image size? [on hold]

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
110 views

Module inside of Manipulate Example

Here is a very nice example from The Student's Introduction to MATHEMATICA. ...
5
votes
1answer
90 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 ...
13
votes
5answers
903 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 ...
7
votes
1answer
318 views

Missing tick in plot

Bug introduced in 10.0.1 and persisting through 10.2.0 Consider this ...
1
vote
0answers
39 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 ...
9
votes
3answers
138 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
0answers
45 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
39 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
38 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
102 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
181 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? [closed]

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: ...