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

learn more… | top users | synonyms (4)

1
vote
1answer
31 views

3D Contour Plot parts of sphere with gradient less than 0, equal to 0 and more than 0

I want to plot only parts of the sphere of radius 1 where the gradient $\frac{\partial z}{\partial x}$ is < 0, = 0 and > 0. The full sphere is given by: ...
0
votes
0answers
23 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 ...
2
votes
1answer
65 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 ...
2
votes
2answers
75 views

Fourier Analysis: How to get rid of a discontinuity

When I compute the phase error of a time series data using Fourier analysis in Mathematica there's a discontinuity @ parameter ...
0
votes
2answers
78 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 ...
7
votes
4answers
208 views

Plot the plane so different condition has a different color

I have a list of functions defined on the plane, and I want to know which one of those functions is smaller than the other functions at particular points. Currently, what I do is ...
0
votes
1answer
42 views

Choose location of axes using plot3D [on hold]

How can I choose where on the box my axes are plotted using plot3D? When one generates a plot and rotates it manually, the axes automatically change their location on the box. I am specifying the ...
3
votes
0answers
47 views

Plot more points only in specific region of plot

I have the code shown at the bottom of this question which generates a 3D plot. There are locations where the two surfaces you see form cones and touch at infinitesimally small points. These points ...
0
votes
1answer
471 views

PDF of binomial distribution and mixed binomial distribution

I want to plot the PDF of binomial distributed function and a mixed binomial distributed function, therefore I entered for the binomial distribution function the following: ...
1
vote
1answer
102 views

How to get a uniformly distributed list of points from a B-spline function

I created a spline function from a list of points and made a plot as follows: ...
4
votes
1answer
73 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 ...
3
votes
0answers
49 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 ...
9
votes
3answers
421 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], ...
0
votes
1answer
69 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 ...
1
vote
0answers
40 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
76 views

How to automatically plot asymptotes? [on hold]

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

Show the arrows in a plot [on hold]

I have two plots: ...
0
votes
0answers
40 views

Export Plot to formatted data file [on hold]

I would like to export the point drawn on a graphics made with Plot, to a file formatted in such a way to be importable in Mac Grapher. If I use Export, and I specify a .txt, it give me something with ...
0
votes
1answer
50 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
59 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
55 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
140 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
53 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
91 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
164 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. ...
0
votes
0answers
37 views

Plotting and NIntegrate [on hold]

I have a problem. I try to make such a plot: function = y^(3/2)*Exp[I t y - y^2]; Plot[NIntegrate[function, {y, -∞, ∞}], {t, -20, 20}] But I have no plot - I ...
6
votes
3answers
176 views

A Case of DeleteCases for WeatherData

I am trying to use ListVectorPlot in combination with WeatherData and CountryData to show ...
1
vote
2answers
96 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
89 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 ...
3
votes
5answers
110 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 ...
13
votes
1answer
256 views

How can I mend this broken heart?

Try to evaluate the following code: ...
5
votes
2answers
179 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. ...
4
votes
3answers
169 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
153 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
53 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 ...
2
votes
1answer
74 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
39 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, ...
25
votes
1answer
337 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
93 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
50 views

Constraint in a 2D plot with Legend

I have the following plot: ...
0
votes
0answers
32 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
0answers
26 views

Problem with Flatten [closed]

I am calculating the metric tensor and its components.I have a metric of 6 X 6 dimensional matrix that contains terms like 1/z^6 ...
0
votes
3answers
71 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 ...
0
votes
1answer
76 views

Contourplot of complex Roots

Suppose I have this equation: $$ z^2 + 3z + (x^2 + y^2) = 0 $$ I want the real and complex contour plot of $z(x,y)$. Analytically, the real/imaginary boundary is separated by condition $x^2 + y^2 ...
3
votes
2answers
133 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
57 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
57 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
59 views

What is wrong with ContourPlot [duplicate]

Why does this plot have a big blank hole in it? ...
6
votes
3answers
225 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
53 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 ...