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

learn more… | top users | synonyms (11)

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

Plotting complicated Bessel functions expression

I am trying to plot this function ...
2
votes
1answer
94 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
104 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
54 views

Adjusting components of the MatrixPlot

I have the following code which yields the figure attached: ...
2
votes
1answer
106 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
133 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
42 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
114 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
49 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
53 views

Show doesn't show DataRange [closed]

I have the following simple code: ...
0
votes
1answer
63 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
142 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 ...
1
vote
1answer
77 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
52 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
144 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
96 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
103 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
287 views

Follow up: how to plot a function under NDSolve domain

Here is the details of the code to plot. ...
14
votes
2answers
443 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
65 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
126 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
107 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
172 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
91 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
105 views

How to display results of NDSolve

I am solving differential equation of second order ...
4
votes
1answer
91 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
163 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
82 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
112 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
70 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
75 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
726 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
167 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
162 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
124 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
109 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
219 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
159 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. ...
2
votes
1answer
57 views

How does RootLocusPlot handle TransferFunctionModel

I'd like to analyze the poles (denominator-roots) of a TransferFunctionModel, that was generated from a ...
1
vote
1answer
82 views

Trajectories of system of parametric equations

I have to obtain plots of trajectories for (theta(t),u(t)) and then overlay them with a contour plot. The overlaying with the contour plot it is easy. What trubles me though is the trajectory part. ...
4
votes
1answer
76 views

Contour lines on a 3D plot

I have the following function. BetheSalpeter[Q2_, ν_] = (g^4 (-1 + x[Q2, ν])^2 x[Q2, ν]^2) / (32 M pe1 π Q2^2 (m^2 + M^2 (-1 + x[Q2, ν]) x[Q2, ν])); Where ...
2
votes
2answers
111 views

ContourPlot: Different Colouring for Closed and Open Contours

I make a contour plot of a function as follows: ...