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

learn more… | top users | synonyms (10)

2
votes
1answer
60 views

3D-Plot of a list of complex numbers and a list of real numbers

I'm a newcomer to Mathematica, and I'm having trouble with the following question. Say we have a list of complex numbers list1 and a list of real numbers ...
1
vote
1answer
38 views

Reverse order in evaluated list

I solve the following set of ODE and plot solution of S1 vs k2 (Figure 1). ...
8
votes
1answer
108 views

Where is the other half of my fourth degree Bézier curve?

Bug introduced in 10.0.0 and fixed in 10.2 When I enter the following command, half of the fourth-degree spline is missing from the graph (i.e. it doesn't touch the last point). Is this a bug in ...
0
votes
1answer
34 views

How can I plot a function of imported data that ends up nested in lists four deep? [closed]

I imported a file of data from a model that I am running for my research. It produces the following output in Mathematica: ...
1
vote
1answer
67 views

Strange Plot result

When I plot this function ...
6
votes
1answer
176 views

Filling the gap between different range

There are three curves in this figure. I use the followed code to fill the gap: ...
6
votes
2answers
196 views

improving sequence dot operator for matrix rows and plot of Norm-imaginary

I have written a code to Dot a row (conjugate of that) of mm to the next one: ...
0
votes
1answer
80 views

Plot a 3D surface described by equality [closed]

Is there an easy way to plot a 3D surface e.g. z^2 = x^2 + y^2 -1 ? I tried RegionPlot3D but it seems it works only for surfaces ...
4
votes
0answers
90 views

Does ContourPlot3D leak assignments inside Manipulate?

Update 5 Aug 2015 -- Karsten 7. found a minimal example of leaking not involving Manipulate, so the role of Manipulate seems ...
5
votes
2answers
197 views

Stacking plots at multiple levels

I have a lot of data points which represents a value at different points in different cross-sections of a container. I can use ListPlot3D or ...
0
votes
0answers
23 views

Plotting a dispersion curve with complex wavevectors [duplicate]

I want to reproduce a dispersion curve from P. Zou's thesis found here: http://www.ipd.anl.gov/anlpubs/2001/06/39620.pdf on Pg. 31, Eq. 2.13. The problem is, the code below only gives values for the ...
4
votes
1answer
91 views

ListContourPlot3D drops data

I've generated an array of datapoints depending on three Variables and need to plot them in a comprehensive way. Easier than dividing the data into subplots of fixed variables, ...
1
vote
1answer
100 views

Adding a fading color only to 3D curves going outside a cylinder

I'm having a problem with color shades on multi curves drawn with the Mathematica 7.0 code below. All the curves with both their endpoints inside the unit cylinder (green circle on the picture below) ...
2
votes
0answers
116 views

Evaluating Real and Imaginary parts in a dispersion equation via ContourPlot [closed]

I want to reproduce a dispersion curve from P. Zou's thesis found here: http://www.ipd.anl.gov/anlpubs/2001/06/39620.pdf on Pg. 31, Eq. 2.13. The problem is, the code below only gives values for the ...
4
votes
1answer
140 views

Removing the background color from BarChart3D plot

I'm trying to make a 3D bar chart plot with transparent faces on the sides, but for some reason it's very hard to remove them (or to make them transparent at least). I tried looking through the ...
3
votes
3answers
114 views

Interpreting Results of Repeated Measures - Shift calculation in plots

What would be a more accurate method to calculate the shift in waveform (waveform drift) from a collection of 20 or more data plots. Current method, Plot all using Show and see if there is some ...
5
votes
1answer
53 views

How to simultaneously extract contourvalues and contourline?

Given a contour plot, plt=ContourPlot[Sin[x y],{x,-1,1},{y,-1,1}] I can extract the values of the contour lines using, ...
1
vote
1answer
105 views

Adding a fading color to multiple lines in 3D

I would like to add a fading color to all the 3D lines I'm drawing with the code below, but I'm having difficulties with implementing the idea. The curves are starting on a unit sphere, and extend in ...
3
votes
2answers
147 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 ...
3
votes
1answer
136 views

How can I avoid these defects in ContourPlot3D output on WPC?

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: ...
6
votes
1answer
411 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 ...
0
votes
1answer
90 views

Colors on a 3D curve not working

I'm having troubles applying colors to a simple 3D curve plot. Here's the code : ...
1
vote
2answers
146 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: ...
5
votes
2answers
94 views

Labeling columns in grouped charts separately

I want to label sequentially some charts. Say, for instance, that I had: ...
9
votes
1answer
210 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 ...
0
votes
1answer
121 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 ...
0
votes
3answers
229 views

How can I write the frame ticks in Scientific Form?

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 ...
6
votes
2answers
192 views

LineLegend behaves differently in ListPlot in Mathematica Version10.0 or later

Suppose I want a line legend for a list plot: ...
0
votes
1answer
65 views

I have a problem in plotting simple Exponential Equation? [closed]

The simple piece of Code is given below. ...
1
vote
0answers
41 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 ...
4
votes
0answers
99 views

ListLogPlot error when forcing y axes start at 0 [closed]

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 ...
7
votes
2answers
502 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, ...
2
votes
1answer
97 views

DateListPlot incorrect time zone [closed]

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

Change in Lighting and Show in V10?

According the documentation for Show: Options explicitly specified in Show override those included in the graphics ...
5
votes
2answers
272 views

Module inside of Manipulate Example

Here is a very nice example from The Student's Introduction to MATHEMATICA. ...
6
votes
0answers
62 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
90 views
8
votes
3answers
301 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: ...
13
votes
3answers
366 views

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

Bug introduced in 10.2 or earlier and persisting through 10.3.0.0 or later This answer explains how to change various undocumented options for BarLegend with ...
1
vote
0answers
37 views

RegionPlot generates unwanted mesh lines [duplicate]

Consider this example: ...
0
votes
1answer
76 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 ...
5
votes
3answers
120 views

ImplicitRegion gives arbitrary boundaries

This question uses Mathematica 10.2.0.0. equation1 is the major unbounded region I would like to generate: ...
5
votes
1answer
114 views

How may I remedy this erroneous lighting pattern?

What I did: ...
6
votes
2answers
301 views

How to achieve a decent terminator line?

What I did: ...
3
votes
2answers
153 views
-1
votes
1answer
112 views
1
vote
1answer
98 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 ...
-1
votes
1answer
132 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 ...
3
votes
2answers
228 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$ ...
2
votes
2answers
170 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 ...