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

learn more… | top users | synonyms (4)

9
votes
1answer
164 views

PlotMarkers problem in ErrorListPlot, Mathematica 10

I recently upgraded to Mathematica 10, very excited about the multiple undo function of course. However I very quickly noticed that if I specify a setting for ...
1
vote
2answers
72 views

Manipulate is evaluated slowly

I have this function: f[k_, θ_, ϕ_] := Cos[k*Cos[θ]*x + k*Sin[θ]*y - ϕ] I want to change the parameters $\theta, \phi,$ and $k$ to see the effects on the ...
12
votes
3answers
746 views

Why doesn't PlotMarker option None return no PlotMarkers?

After reading the PlotMarkers documentation it seems to be all or nothing. For example if you wanted markers on some of you lines the code below seems ...
4
votes
0answers
107 views

ErrorListLogPlot gives wrong error bars on log scale

From this and this post I learned how to use ErrorListLogPlot and its family to add error bars on top of a list of mean values. However, consider this simple ...
1
vote
1answer
70 views

Plot sets in the complex plane [duplicate]

I just want to know if there's a way to plot sets in the complex plane. For example $$A=\{z\in \mathbb{C},z+e^{z}=0\},\\A=\{z\in \mathbb{C},\Re(z)+e^{z}\geq0\}.$$
5
votes
2answers
52 views

Why does Rotate in PlotMarkers behave strangely?

While answering Change the inner color of markers I came across a behavior that may be a bug. I would like to know if there is another explanation. First a basic example of normal behavior: ...
3
votes
1answer
53 views

How to make PlotMarkers constructed from Graphics track plot style?

In this plot the Disk[] markers are not colored according to the style of the line to which they belong: ...
11
votes
3answers
483 views

Change the inner color of markers

I would like to have a marker with white as its inner color, to be able to make this kind of graph: If I use PlotMarkers -> Style["\[FilledSquare]", White], ...
4
votes
2answers
52 views

How can I make DensityHistogram obey the lower bound in PlotRange in version 10?

In version 9, DensityHistogram worked with PlotRange as expected: ...
2
votes
1answer
83 views

ListPlot with conditions

I have a data file containing the position of about $10^5$ stars of a spiral galaxy. Here is the plot and this is the corresponding code ...
3
votes
2answers
129 views

Fourier Analysis: How to get rid of a discontinuity

When I compute the phase error of a spatial series data using Fourier analysis in Mathematica there's a discontinuity @ parameter ...
5
votes
1answer
112 views

How to plot stability region of Fourier analysis

Stability limits for Runge–Kutta methods in the complex ΩΔt-plane are needed to be plotted like this: For example, let P=1+z where ...
0
votes
2answers
100 views

How can I graph an equation with five variables?

{c*((a - b*Cot θ)/(Subscript[r, 1])^4) + ((b*Csc θ)/(Subscript[r, 2])^4) This is a form of Poiseuille's Law I need to graph. I want the value of the variables to ...
0
votes
1answer
82 views

Plot groups based on unique tag

I have a .csv file that has 12 columns and 511 rows. data = Import["C:\\Users\\Documents\\data\\AllResults\\result1.csv"]; The first two columns are id tags. I ...
3
votes
0answers
52 views

BoxWhiskerChart with logarithmic axes 2

I actually already found my answer on the question, however it is not working. see BoxWhiskerChart with logarithmic axes I want to create a boxwiskerchart with a logaritmic axes. But when I try ...
2
votes
2answers
103 views

How to automatically plot asymptotes? [closed]

I'm a newbie to Mathematica and I'm reading through "The Student's Introduction to Mathematica, Second Edition" and am on the "Using Mathematica’s Plot Options" section of chapter 3. The examples for ...
2
votes
2answers
63 views

Show the arrows in a plot [closed]

I have two plots: ...
0
votes
1answer
55 views

Is it possible to plot a second-order curve by its non-canonical equation?

I have this second-order polynom: $$ 6xy+8y^2-12x-26y+11=0 $$ And I need to reduce it to a canonical form of a second-order curve. I solved this, but is it possible to draw a plot of the original ...
1
vote
1answer
66 views

Manipulate gives the output as a blank plot, but I'm not sure why [duplicate]

I'm using Mathematica 9 to try to manipulate a 3D plot. My code is: ...
1
vote
2answers
82 views

Exporting an overlay of two plots

I have a ListLinePlot and I'm trying to place a close-up of a specific range in the ListLinePlot. Using overlay I solved this problem with: ...
4
votes
1answer
152 views

How to change the aspect ratio with drawing tool?

I'm drawing an image in editing an slide show with the drawing tools. But the aspect ratio of the created drawing seems fixed and not changeable with mouse dragging the border and corner as in other ...
1
vote
2answers
57 views

why the variable scope is not local when using evaluate to plot multicurve?

I noticed a surprising problem when using evaluate to plot multicurve, "evaluate" function actually consider global variable first, not the local! I can illustrate the problem using the following ...
3
votes
1answer
98 views

Interpolation function rejected by ParametricPlot3D

I was playing around with the bouncing ball example, and decided to make a 3d version. I decided to use ParametricPlot3D for a simple independent 3D ...
3
votes
4answers
175 views

Controlling the placement of the y-axis

I use ListPlot for showing the results of my numeric computation. I make my own ticks, so I never know before hand where the vertical center of my plot will be. ...
6
votes
3answers
197 views

A Case of DeleteCases for WeatherData

I am trying to use ListVectorPlot in combination with WeatherData and CountryData to show ...
2
votes
2answers
124 views

How do I exclude the vertical line plotted at a discontinuity?

Condsider function = Tan[1 x] + Tan[2 x] Plot[function, {x, 0, 1.5}] It has a strong discontinuity around 0.8. The problem is , if I want to find ...
3
votes
1answer
96 views

How do I plot a U- form cylinder

I'm really new to Mathematica, trying to learn some things, but I need help trying to plot this kind of cylinder, a U tube like cylinder. Tried to use an example code like this, and then vary some ...
5
votes
5answers
139 views

Providing a color function for ListPointPlot3D

Is there a way to write ListPointPlot3D expression, so when given a list of points, the the color of the points plotted is a function of the index/element number of ...
14
votes
1answer
283 views

How can I mend this broken heart?

Try to evaluate the following code: ...
6
votes
2answers
222 views

Line style thickness differences between Mathematica 9 and 10

I execute the same code in Mathematica 9 and MAthematica 10, and have this different results. ...
5
votes
3answers
176 views

Spike train representation

I have a spike train. The data shows the time at which the neuron fired a spike. I want to plot them like this picture: Here is the data for one spike train which corresponds to the one of the ...
4
votes
2answers
198 views

Extrude 2D cross-section to 3D shape with shrinkfactor

I would like to create a 3D shape from extrusion and scaling of a 2D contour. The 2D contour that I have looks like this: and it consists of a bunch of points (here plotted with ...
0
votes
2answers
54 views

Changing the data indices for a large dataset plotted with ContourPlot

I have a large (square) dataset that I am plotting with ListContourPlot ... The data is 128x128 -- without coordinates for each point. I.e. - {{0,0,1,0,...,0},{0,2,1,1,...,1},...{3,1,1,1,...,2}} So ...
3
votes
1answer
92 views

Aborts and beeps without error warning

I have a piece of code that generates a figure, performing a calculation to generate each pixel. At a certain resolution it runs fine, but after a high enough resolution it fails. Mathematica beeps ...
2
votes
0answers
40 views

How to avoid joining MathieuCharacteristicA in a plot? [duplicate]

In the documentation As a function of the first argument, MathieuCharacteristicA is a piecewise continuous function So how to avoid joining different pieces of the function? For example, ...
33
votes
1answer
442 views

Is it possible to define new PlotTheme?

In version 10 one can define, say, $PlotTheme = "Scientific" Which changes the appearance of all plots. This is fantastic because on the one hand, I can have ...
1
vote
2answers
107 views

Line Breaks in AxesLabel or PlotLabel?

Searching got me peripherally related threads, but not exactly what I was looking for. I'm making some graphs which I want to use on exams. Sometimes, labels (specifically in AxesLabel and PlotLabel) ...
1
vote
1answer
56 views

Constraint in a 2D plot with Legend

I have the following plot: ...
0
votes
0answers
39 views

Set min and max ranges for axes in ParametricPlot

I'm having trouble with this one plot I'm trying to make. I'm using NDSolve on a system of differential equations and when I plot it with ParametricPlot, the scales or lengths of the graphs axes come ...
0
votes
3answers
81 views

How to draw a plane parallel to one of the coordinate planes? [closed]

Sorry for the fact that I ask actually the same question on three different stackexchange sites (stackoverflow, mathematics and now here), but I need to find an answer to my problem as quickly as ...
4
votes
2answers
155 views

Conversion of 3D plot to 2D Contour Plot

Is it possible for Mathematica to convert a 3D plot into a 2D contour plot without having to recompute the values for each point? I realize that looking directly down at the 3D plot will be similar to ...
0
votes
0answers
67 views

Plotting Geodesics in Kerr

I'm interested in plotting the trajectories of null geodesics near a rotating black hole (given by the Kerr solution) which involves a system of first order differential equations. Some Context (not ...
0
votes
2answers
64 views

Plot a perfect looking circle using two functions, always look like an ellipse [duplicate]

I want to use the the following two functions to plot a perfect looking circle, but the graph always ends up looking a bit squashed. I've been playing with some of the parameters of the function but ...
0
votes
1answer
65 views

What is wrong with ContourPlot [duplicate]

Why does this plot have a big blank hole in it? ...
6
votes
3answers
257 views

How to use PlotRange -> All with ListLogLinearPlot?

I would like to generate a ListLogLinearPlot that automatically shows all the data points. However the option ...
0
votes
0answers
59 views

I see error messages when I use LogLinear Plot but not when I use Plot

I have written an application with Manipulate that plots the results of several calculations. What I find strange is that when I have my application use ...
0
votes
0answers
71 views

How can I scale a plot in my Manipulate?

I want use scale in the same way as Mister Trevor Cole in his most excellent demonstration at the Wolfram Demonstrations site: ...
5
votes
2answers
204 views

Where can I get detailed information on how the Plot command works?

The command Plot[x^2, {x, -3, 3}, PlotStyle -> Arrowheads[{-.025, .025}]] /.Line -> Arrow produces this output. What I don't understand is what ...
0
votes
1answer
124 views

Plot3D unable to understand input function

I'm attempting to plot the Wigner Function of the Morse Oscillator defined as ...
8
votes
4answers
763 views