Tagged Questions
1
vote
1answer
77 views
Mathematica plots a discontinuity in piecewise function that does not exist [duplicate]
I have the following function defined:
...
3
votes
2answers
205 views
Ways to plot interpolating functions more economically?
I am interpolating a lot of data over geographic coordinates obtained via GPS, and frequently I need to plot these interpolated functions together. For example, I may have an interpolated elevation ...
7
votes
7answers
493 views
Can my color function be written more simply?
The code shown below works well, but I think the pure function I'm supplying to the ColorFunction option could be more elegant. How can I simplify it?
...
1
vote
1answer
76 views
How do I define a function that, when given a list of parameters, plots a family of functions?
So far I've got this:
draw[a_, b_] := Plot[{f[a, b[[1]], x], f[a, b[[2]], x]}, {x, 0, 5}]
The function draw will be used like ...
10
votes
2answers
363 views
How to plot a barycentric line
I want to plot a barycentric function on an equilateral triangle (ternary plot). For example
f1 = {Abs[Sin[x]], Mod[x, 2], Abs[Cos[x]]};
At the moment I evaluate ...