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

learn more… | top users | synonyms (12)

2
votes
1answer
49 views

ndsolve interpolatingfunctions not shown/evaluated

Using this technique from Simon, I want to solve a matrix differential equation with a matrix that contains an explicit time-dependence(our variable), but I want to be able to solve this problem for a ...
13
votes
2answers
272 views

ListContourPlot has wrong colouring: workaround?

Bug introduced in 9.0 or earlier and persisting through 10.4 ListContourPlot uses the wrong colouring here: ...
2
votes
1answer
58 views

Newbie Issues with Solving & Plotting a System of equations

I'm having some problems with my mathematica code, I think I'm overlooking something simple. I get valid solutions for u0 thru u4, but it doesnt generate any plot at all. Also, I'd really like to plot ...
9
votes
1answer
269 views

A method to draw a surface around a set of regularly spaced points

This is mostly an artistic endeavour. I have a 3D array of points, 1 representing a point within the surface, -1 without. The shape is not convex. I would like to produce a surface which encloses the ...
0
votes
0answers
39 views

best way of plotting 3D surface from a binary voxel representation in Mathematica [duplicate]

I do have binary Voxel based data for representing a 3D mesh, i.e. a VoxelVolume with values of 1 or 0, 1 specifying that the voxel belongs to the object, 0 not belonging to the object. Standard ...
0
votes
1answer
78 views

Plotting complicated Bessel functions expression

I am trying to plot this function ...
2
votes
1answer
95 views

simple contour plot with variable thickness

I have a data set on the form of 3 spatial coordinates x,y,z and an amplitude. Here is a small crop of the data, : ...
3
votes
1answer
108 views

Integration of angular distribution along cartesian axis

I am plotting an anisotropy distribution function as color coding on the surface of a unit sphere with this code: ...
0
votes
1answer
55 views

Adjusting components of the MatrixPlot

I have the following code which yields the figure attached: ...
2
votes
1answer
111 views

DateListPlot show iso week

How can I make DateListPlot show the iso week number? I would like to make a Date plot so that for each dot it will show the iso week date in the x-axis .
6
votes
2answers
143 views

Scale SmoothHistogram curve to Histogram

Like in this question, I would like to display a histogram and a smooth histogram in the same plot. I believe the default “bin height specification” (or $\textit{hspec}$) for ...
2
votes
0answers
44 views

Scaling 1D ArrayPlot divide by zero error [closed]

I am trying to overlay an ArrayPlot onto a WaveletScalogram, using the helpful answer here; however, my ArrayPlot is one-dimensional. My code: ...
1
vote
2answers
119 views

Ploting horizontal lines in a ListLinePlot?

Hello i have made a graph with a oscillating behavior but i need to highlight the maximum value of the oscillation because i will use that value like a threshold and I need to put a horizontal line in ...
1
vote
2answers
64 views

Plot of function-generated lists: Why does this workaround not work?

My problem is a classic one: I want to plot a function-generated list, and there's no way to pre-evaluate (because the actual function includes NMinimize and thus ...
0
votes
0answers
52 views

SetOption for Plot

I have a very related question to my former one SetOption for plotting and I am not sure if I should edit it in order to ask two questions. So if one of the experienced users tells me to do so, I will ...
1
vote
0answers
54 views

Show doesn't show DataRange [closed]

I have the following simple code: ...
0
votes
1answer
64 views

Plot absolute value inequalities - number line

I'd like to ask you about the way to draw the number line for absolute value inequalities. Is there any built-in tool? In this case the input was $|x-6| > 3$. My point is to achieve something ...
0
votes
0answers
43 views

ColorFunction on a surface [duplicate]

I have a surface in 3D space which is defined by equation in ContourPlot3D. For simplicity let me use x + y == z surface (in reality I have a transcendental ...
0
votes
1answer
86 views

Why do I get an empty plot? [closed]

I have the following code: ...
3
votes
1answer
147 views

Exclude one point from the RegionPlot

I'd like to ask you about the way of excluding just one point from this example: ...
4
votes
0answers
88 views

AbsoluteOptions doesn't return correct option value of Ticks? [duplicate]

I just come across a function called AbsoluteOptions when trying to figure out the specific option value of Ticks -> Automatic...
1
vote
1answer
78 views

How to increase time-effeciency of plotting complicated function?

A newbie here: I am trying to use ContourPlot to plot Intensity in a strongly focus laser beam. However this intensity is a function of not so trivial integrals, so ...
1
vote
1answer
72 views

How to control the shape of ListPlot3D

Problem I have an array defined as arr1 = {{0, 0, 0}, {0.6, 0, 0}, {0, 0.4, 0}, {0.6, 0.4, 0}, {1, 0.4, 0}, {0, 1, 0}, {0.6, 1, 0}, {1, 1, 0}}. I'd like plot ...
3
votes
1answer
54 views

TreePlot: arrows on specific lines

I have the following list of rules: L={1->2,2->3,3->3}; and I want to plot a tree graph: ...
3
votes
2answers
145 views

How can I filter this signal in mathematica

Given the transfer function $H(z) = \frac{1}{4}(1+z^{-1}+z^{-2}+z^{-3})$ and the input signal $x[n] = \cos(\frac{\pi}{50}n)+\cos(\frac{4\pi}{5}n)$, how can I find the output signal $y[n]$ in ...
0
votes
1answer
98 views

How to plot two lists in the same graph maintaining the scale of the points?

I need to plot two lists of complex numbers in the same graph to show some results, so I'm using the following lists to do that: ...
4
votes
0answers
108 views

Bug in ListLinePlot[] when Filling up and down?

I'm trying to understand this apparently incorrect Filling behavior in ListLinePlot[]. Evaluating this ...
-1
votes
1answer
293 views

Follow up: how to plot a function under NDSolve domain

Here is the details of the code to plot. ...
14
votes
2answers
450 views

Plot3D is incorrectly returning “1/0. encountered”

Bug introduced in 9.0.1 or earlier and persisting through 10.3.1 The line of code Plot3D[1/y, {x, 0, 1}, {y, x + 1, x + 2}] is returning several "Power::infy: ...
1
vote
0answers
66 views

Plot3D of $z^{1/3}$ [closed]

When I do Plot3D[z^(1/3), {z, -10, 10}] in Mathematica, it just outputs the command back to me. There is no plot. Oddly, Wolfram Alpha displays a plot just fine. ...
1
vote
1answer
138 views

Marking Specific Points on Graph

Is there any way that I can label/mark points (axes intercepts, maximum/minimum values etc.) on Mathematica? (as in without using the drawing tools) Such as in the case of: ...
0
votes
2answers
109 views

Plotting a ArcCos function

I didn't manage to plot a simple function with ArcCos. Plot[ArcCos[(x + 1)/Sqrt[x]], {x, -1, 1}] With this function, the plot returned is empty. Do you have ...
6
votes
1answer
181 views

How can temporal data with multiple paths be shown in one plot?

I am trying to plot SunPosition for an entire year. The examples I have seen plot a single day or one exact time across the entire year, not the full data set. (...
0
votes
0answers
32 views

StreamPlot, ListStreamPlot does not visualize vector field properly [duplicate]

I am reopening my question about empty stream plots. I couldn't find a choice for parameters that would give me a proper stream plot for the following example. ...
1
vote
2answers
75 views

Need help getting the intercept of two lines in a ContourPlot

I am trying to find a set of parameters $\{\epsilon,\epsilon_b\}$, so that the two local minima have exactly the difference of 15.1 (see code below) and the left sided local minimum and the local ...
3
votes
0answers
103 views

Schwarz-Christoffel toolbox [closed]

Is there a toolbox for working with Schwarz-Christoffel transformations in Mathematica? More generally, is there a toolbox for visualizing conformal mappings in the complex plane? There are a lot of ...
0
votes
2answers
110 views

How to display results of NDSolve

I am solving differential equation of second order ...
4
votes
1answer
98 views

3D Plot of Matrix with bars, overlayed with empty bars

I am trying to plot a matrix with bars, and show what the perfect case would give in the form of non-filled bars. The bars I was able to create: ...
1
vote
2answers
171 views

StreamPlot, ListStreamPlot scaling issue [duplicate]

The following stream plot is empty and the x-axis exceeds $[-0.1,0.1]$ significantly. StreamPlot[{y, -100000 x - y}, {x, -0.1, 0.1}, {y, -100, 100}] Using ...
1
vote
0answers
85 views

Data points not connecting in joined ListLinePlot [closed]

I am trying to graph a rather large data set with the following expression: ...
3
votes
2answers
113 views

Nested loop with contourplot

The ContourPlot is applied 5 times with this code: i = Range[1, 5] j = Range[1, 5] ContourPlot[x^2/i + y^2/j == 1, {x, -5, 5}, {y, -5, 5}] However, I would like ...
1
vote
2answers
71 views

Plotting a family of equations

I want to plot a family of equations for different values of $C$. For example $x^2+y^2=C$. How? I found out that this doesn't work: ...
0
votes
2answers
77 views

Fit a polynomial/curve to an NIntegrate result

I want to NIntegrate a function which also contains some parameter. In the end, I would like to plot the result as a function of one of these parameters. The thing ...
3
votes
1answer
852 views

Plot a function for different parameters

Suppose I have a function that I want to plot for several values of a parameter all in the same window. For instance the function $f$ defined as ...
0
votes
2answers
172 views

Bifurcation diagram for 1D ising model

I'm new in Mathematica, I want to plot a bifurcation diagram for a complicated Ising system with dynamics that I'm working on, but to get familiar with how to perform it on Mathematica I wish to start ...
1
vote
2answers
166 views

Plot a line half dashed and half solid [duplicate]

Hi I'm plotting several curves and want one of them to be dashed when negative and solid when positive, any idea how this can be obtained? This is what I have so far ( example ): ...
3
votes
2answers
133 views

How to animate multiple sets of XY data

I have nine sets of data with $(x,y)$ coordinates that are the position of a particle. I can ListPlot the particle positions on a single plot, but, I want to ...
1
vote
1answer
122 views

Plot Meijer G function [closed]

How to plot using Mathematica the Meijer G function $$ G^{m l}_{p q} \left(\omega t \ \Bigg\vert \ {a_1,\cdots,a_p\atop b_1,\cdots,b_q} \right) $$ Thanks
3
votes
3answers
225 views

flipping y axis

I know that some topics were created for this subject but any solution works for me. I would like to reverse the y axis. By this I mean that I would like to have the highest values at the bottom and ...
1
vote
0answers
160 views

NonLinearFit running too slowly when the model contains an integral [closed]

I am new to Mathematica and am learning to use it. I have come up with the following situation where I have to fit the data. ...