Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 11484

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

0 votes
Accepted

ListPlot failure

Mathematica uses an algorithm to decide what part of the plot contains the most salient features, and chooses the vertical axis range accordingly. This applies unless the user explicitly overrides by …
heropup's user avatar
  • 2,122
3 votes
Accepted

Hyperboloid of two sheets in Mathematica

Functions are case-sensitive in Mathematica. Therefore, sqrt[] is not recognized; it must be Sqrt[] to invoke the built-in square root function. Multiplication of terms requires either the usage of t …
heropup's user avatar
  • 2,122
2 votes
Accepted

Evaluate in Plot leads to function error

Would you find this acceptable? data = RandomReal[10, {4, 1000}]; metric[d_, perc_] := Accumulate[#]/Total[#] &[Quantile[#, perc] & /@ d] ListLinePlot[Transpose[Table[{p, #} & /@ metric[data, p], {p, …
heropup's user avatar
  • 2,122
3 votes

Correct graphical representation of a discrete function (PMF)

Histogram[{1, 2, 2, 3, 3, 3, 3, 4, 4, 5}, {1}, "Probability"] Or how about this: BarChart[#[[2]]/Total[#[[2]]], ChartLabels -> #[[1]]] &[Transpose[Tally[{1, 2, 2, 3, 3, 3, 3, 4, 4, 5}]]]
heropup's user avatar
  • 2,122
4 votes
Accepted

How to specify range (PlotRange) for BodePlot function?

AxesOrigin -> {{0, 0.1}, {0, 0.1}}] The thing to understand about the default output of BodePlot is that it plots two graphs, and the vertical scale on each is different; therefore, when supplying plotting
heropup's user avatar
  • 2,122
3 votes

Draw generalized k-ellipse using "the locus of points so that sum of the distances to the fo...

F[a_, b_] := Sqrt[(a - b).(a - b)] Manipulate[ Show[ ContourPlot[ Total[F[{x, y}, #] & /@ {a, b, c}] == d, {x, -5, 5}, {y, -5, 5}], Graphics[{Red, Disk[a, 0.1], Green, Disk[b, 0.1], Blue, Disk[c …
heropup's user avatar
  • 2,122
6 votes

3D representation of a Boy surface using a mesh of tubes

Here is my code for the Bryant-Kunser parametrization of the Boy surface. g[w_] := {-3/2 Im[w (1 - w^4)/(w^6 + Sqrt[5] w^3 - 1)], -3/2 Re[w (1 + w^4)/(w^6 + Sqrt[5] w^3 - 1)], Im[( …
heropup's user avatar
  • 2,122