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

learn more… | top users | synonyms (6)

3
votes
1answer
126 views

Plotting Tupper's self-referential formula using ArrayPlot

For those who are not familiar with Tupper's self-referential formula, here is the wiki link. My interest was to plot it. I tried the naive approach using ...
0
votes
3answers
77 views

Confusing “Part::pspec” and “Part::partw” following call to ParametricPlot3D

The problem I'm having is that the function definition given below continually gives me baffling error messages. I'm trying to turn a list of 3D points into a function that approximates a curve by ...
2
votes
1answer
56 views

ContourPlot3D, Characteristics of PDE

The aim is to plot the solution of a PDE with initial value along with its characteristics and initial value. $x u_x - y u_y = 0$ on the line $x=y=u=t$, i.e. $u(t,t)=t$ $(t > 0)$. Then the ...
0
votes
1answer
64 views
5
votes
1answer
114 views

ParametricPlot3D with tube and arrow

I have this: ...
3
votes
2answers
143 views

ParametricPlot with 2 variables

I want to try plotting this: As you can see the first axis is v and the second is just dependent of the angle of $\Phi$ . The function is ...
2
votes
1answer
98 views

Minkowski sum and product of 2D-regions

Let $A_j$, $j=1,\dots,n$ be subsets of $\mathbb C$ defined by $$ A_j=\{z\,|\,f_j(z)\geq0\} $$ where $f_j:\mathbb C\to\mathbb R$ are given functions. I am interested in the following subsets of ...
5
votes
3answers
164 views

Removing specific regions in post-processing of graphic

I'd like to create a graphic that looks like the following using RegionPlot with Mesh: I have three different plots and would ...
1
vote
0answers
48 views

Apply ListPlot to various data sets [duplicate]

Assume that I have data in the form: list = {{{1, 2, 3}, {10, 10, 10}}, {{4, 5, 6}, {20, 20, 20}}} I want to plot ...
0
votes
0answers
35 views

Finding intersection of two infinitely long lines using points [duplicate]

EDITED In the Find intersection of pairs of straight lines problem, it is assumed that line are intersected by default and the purpose is to find the intersection points. In the present problem, two ...
20
votes
1answer
304 views

New behavior of PlotRange in Mathematica 10

In Mathematica 10, when I plot data that has small changes around some non-zero value, the plot chooses a PlotRange that "collapses" the data so that the variations ...
4
votes
2answers
141 views

A particular contour does not show up, even though it is in my list [duplicate]

Consider: f = Sqrt[9 - x^2 - y^2]; ContourPlot[f, {x, -4, 4}, {y, -4, 4}, Contours -> {0, 1, 2, 3}, ContourLabels -> All, ContourShading -> None] ...
3
votes
1answer
64 views
0
votes
1answer
80 views

InteractiveTradingChart and ChartElementFunction

I want plot a similar candlestick chart as on the picture below with blue down-candles and white up-candles with blue edges. With TrendStyle -> {White, Blue} I don't see shadows on up-candles ...
3
votes
1answer
78 views

One Mesh Line does not show up in ContourPlot

Consider: ...
0
votes
1answer
93 views

How to apply stress (moment) graph color to cylindrical surface?

so i want to apply this graph colors to cylindrical surface. Thanks Ahead! Code: ...
8
votes
2answers
140 views

Mesh Problems with MatrixPlot

I've come across some weird behavior in 10.1 when trying to use Mesh with MatrixPlot. In the example below, when specifying Mesh, I only get one line along the X axis at 100 instead of lines at {100, ...
0
votes
1answer
60 views

Plotting with 2 variables and given list of f(u,v) values [closed]

Lets say I have a function y with 2 variables u and v : $f(u,v)=y=u+4v$ I want to plot y in 2-D. My first axis is u and my second is v. How do I plot this, if I have a list of values for my y? I ...
2
votes
1answer
111 views

Drawing lines automatically between two different plots

I try to create a special plot where several lines have to be generated automatically between two plots at very precise coordinate. My goal is to make something exactlly like But I want to do it for ...
2
votes
1answer
79 views

Nonlinear abscissa in TimelinePlot

I would like to produce a TimelinePlot in which the scale of the abscissa varies nonlinearly (compressing old dates and expanding recent dates). Others have ...
7
votes
1answer
131 views

Export Plot3D in Mathematica 10.1 is Rasterized by default

When I use Export to export Plot3D to pdf format, I get different behaviour in Mathematica 10.1 compared to 10.0. In particular, ...
2
votes
1answer
53 views

Using Epilog to increase text size [closed]

I have a plot with labels positioned using the epilog function for convenience. I would like to increase the size of axes labels within the epilog function but I haven't managed to figure out a way to ...
0
votes
1answer
69 views

Complex contour plot of a function of three complex variables [closed]

eqn[x1_, y1_, x2_, y2_, a1_, a2_] := ((a1 + I a2) - (x2 + I y2))/(((x1 + I y1)(x2+ I y2)) - (a1 + I a2)) How can I plot the ...
6
votes
3answers
116 views

LogPlot does not show all points

LogPlot ignores points which are going to "too high" values: ...
2
votes
2answers
223 views

How to do make Plot automatically figure out a domain interval?

When you tell Wolfram|Alpha to plot something, it automatically figures out a reasonable domain to plot it over. When I try something like Plot x^2 + y^2 = 1000 ...
0
votes
1answer
49 views

How to get DistributionChart to show normalised densities?

I am having some issue getting DistributionChart to show bin widths as expected, or perhaps it is in my interpretation of the plots. I have four data sets, all of the same length, and plot them in ...
0
votes
0answers
40 views
0
votes
0answers
25 views
8
votes
2answers
155 views

Getting a correct custom legend for contourplot?

I am having trouble making a custom range for a legend in ContourPlot since the legend doesn't "talk" to the PlotRange and ...
2
votes
2answers
77 views

Aligning Density an Contour Graphics

In radiation therapy, we display radiation dose as an isodose contour plot overlain on density plot describing the patient geometry (CT data). Here is a simple example (the material grid is voxelated ...
0
votes
1answer
137 views

How can I solve the sum with two unknowns?

I have the following code description ...
2
votes
1answer
49 views

Non-autonomous Dynamical system Sliding mode controller Error

This code is a simulation of a sliding mode controller of a non-autonomous dynamic. When I use ArcTan in input, I receive an error. ...
1
vote
1answer
41 views

Expand the plotting range [closed]

When use the following command to plot a graph Plot[x^(1/3), {x, -1, 1}] Mathematica does not show the range [0, 1]. It ...
2
votes
1answer
52 views

Plot does not take range with OptionValue and PlotRange option

I am making a function that is to use Show to overlay a few plots of a function. I want the first Plot in ...
3
votes
0answers
46 views

First Plot misses the Show [closed]

g4 = ContourPlot[Sin[x] Cos[y], {x, 0, 2 Pi}, {y, 0, 2 Pi}] g5 = ContourPlot[Cos[x] Sin[y], {x, 0, 2 Pi}, {y, 0, 2 Pi}] Show[{g4, g5}, PlotRange -> All] How to ...
14
votes
3answers
708 views
1
vote
1answer
81 views

LogPlot hangs but Plot does not

This is a bit involved example, but I have not been able to reproduce it in more simple cases. ...
2
votes
3answers
69 views

InterpolationOrder 2 or more in ListLogLinearPlot

I'm using the function ListLogLinearPlot, but the plot is to square, i would like to have InterpolationOrder 2, but there is not ...
3
votes
1answer
75 views

How do I color Riemann integral rectangles using conditionals?

I'm builind a function to visualize the Riemann Integration process to any function using rectangles. Everything is fine, except that I need the color of the rectangles to change if they're under the ...
1
vote
1answer
50 views

ListLinePlot partial filling

I use ListLinePlot to plot data: ...
1
vote
1answer
60 views

Same scale for all the axes in Plot3D

I can't find this in the documentation. How do you force the same scale for all the axes when making a 3D plot? There is the BoxRatios option, but this only changes ...
2
votes
2answers
117 views

Extracting points from the MeshFunctions of Plot3D

I am trying to extract the points from the mesh lines of a 3D plot. (Not my actual function.) ...
2
votes
1answer
59 views

Increasing Plot3D speed when plotted function is Eigenvalue

This is probably a really simple fix, but I'm fairly new to Mathematica and am not sure how to do this properly. I know that trying to plot eigenvalues directly can be computationally expensive, so ...
2
votes
1answer
170 views

Using codes to replicate drawing tools in Mathematica

This might seem very obvious but I'm on the verge of losing all the annotations I've made on a graph because I can't figure a way to save it after using the drawing tool to add a few extras to the ...
3
votes
2answers
152 views

Positioning axes labels

I need to change the position of my axes labels such that the y-axis label is in the middle and parallel to the y-axis. I'd also like the x-axis label to be in the middle of the x-axis rather than ...
3
votes
1answer
45 views

Contourplot fails to plot x==0 if plot range is from 0

The simple command ContourPlot[x == 0, {x, 0, 1}, {y, 0, 1}] fails to plot the line x==0. However If I add a small buffer it ...
0
votes
1answer
68 views

Plotting the tangent of a curve [duplicate]

I'm new to Mathematica and this is probably child's play for most people, but I wanted to know how to plot the tangent of the function below at the point e=1/4 : ...
0
votes
1answer
28 views

Transpose four lists of data into two lists for use in List Plot [closed]

I have four lists of data x1 = {1,3,5,7} y1 = {0,2,4,6} x2 = {10,12,14,16} y2 = {8,10,12,14} In one line is it possible to use transpose to get two lists which ...
6
votes
2answers
212 views

Curvature Application

I found these amazing animations at https://courses.engr.illinois.edu/tam212/avt.xhtml#avt which I think will be wonderfully useful when teaching multivariable calculus next semester. I've started to ...