
Use different ColorFunction for each function plotted
If you do know the number of points being used by each function to plot it, then you can add an If statement inside the ColorFunction to use different color based on this test.
How to set the value of constants in a function when plotting it
Correctly scoping variables is one of the trickiest parts of Mathematica. You can write With[{a = 5}, Plot[a Sin[x], {x, -10, 10}]] but f[x_]:= a Sin[x] (* With[{a ...
Conditional options in Plot - Mathematica Stack Exchange
I was hoping to incorporate an If function into a Plot option, as in Plot[Sin[t], {t, 0, 2 Pi}, Filling -> Axis, FillingStyle -> If[Sin[t] > 0, LightGreen, LightRed]] or Plot[Sin[t], {t, 0, 2 Pi}, PlotStyle -> If[Sin[t] > 0, …
Plotting self-made functions - Mathematica Stack Exchange
Plot[function[10^(-10), 0.01], {x, 0, 1}, Evaluated -> True] and it works. The problem is that Plot works by substituting numerical values of x and evaluating the function to get the vertical coordinate. So if it …
plotting - How to plot a two-variable function in 2D? - Mathematica ...
Oct 9, 2020 · How to plot a two-variable function in 2D? Ask Question Asked 5 years, 2 months ago Modified 4 years, 4 months ago
How can I plot a graph of an integral? - Mathematica Stack Exchange
Mar 28, 2015 · How can I plot a graph of an integral? Ask Question Asked 10 years, 8 months ago Modified 6 years, 1 month ago
Visualize Plot of a function of 3 Variables using color and contours
Visualize Plot of a function of 3 Variables using color and contours Ask Question Asked 12 years, 7 months ago Modified 12 years, 7 months ago
Plotting two functions in one graph - Mathematica Stack Exchange
Plot[2x, {x,0,4}] Plot[x^2, {x,10,12}] How do I merge these two graphs into one graph without the range {4,10}?
Plot a function for different parameters - Mathematica Stack Exchange
Oct 12, 2015 · Plot[f[a,1,2,3],{a,0,1}] But suppose I want to instead plot f[a,b,2,3] same as before for a from 0 to 1 but now the parameter b takes on several values, say b = 0,1,2,3,4 and so on. How can I …
Why won't my graph show up? - Mathematica Stack Exchange
Nov 6, 2018 · This fixed one problem I had where the NSolve command for this function as equal to zero was actually showing up with an answer and I knew it wasn't supposed to, but the graph is still empty …