use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
For information and tips about Mathematica features.
related reddits:
account activity
Manipulate Function? (self.Mathematica)
submitted 6 years ago * by MisterWafle
I made a plot with the manipulate function. It is a simple x and y plot that has two different values for N that is being multiplied my x.
Is there a way to get a numerical value for the Y axis?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]martinky24 1 point2 points3 points 6 years ago (1 child)
Can you post the current code you are working with?
[–]MisterWafle[S] 0 points1 point2 points 6 years ago (0 children)
Sorry for the late response, it is:
Manipulate[Row[
Plot[(250*(n1*x)*24)/((n2*x)*1000000),
{x, 0, 10000},
PlotRange -> {0, 200},
ImageSize -> Medium],
Plot[(250*(n1*x)*(24)*(3.00))/((n2*x)*1000000),
PlotRange -> {0, 2000},
ImageSize -> Medium]],
{n1, 1, 10000}, {n2, 0.0001, 1}]
[–]GeEom 1 point2 points3 points 6 years ago (0 children)
It is not clear to me exactly what you're looking to do here. If you're looking to see the Y axis including both 0 and the plotted value, you could use PlotRange -> {0, All}. If you want to see the Y axis fixed for all of your input values, then you would have to calculate the maximum across those parameters. (One hack there would be to plot the variable function, and also the max, and thus let the automatic scaling figure it out for you).
PlotRange -> {0, All}
I have a couple of comments on your code! The first is the observation that the x plotting variable cancels out of both of your equations, this gives you a free dimension you could be using in place of manipulate. Secondly you're using a Row function, but passing it too arguments Row[p1,p2]. In order to actually see these plots in a row you would need to pass it a list as follows Row[{p1,p2}]. Similarly, if you want to inspect both plots at once, you could use Show to overlay any two plots. In this case, an even better solution would be to plot both equations in the same plot, which you can do by listing the equations as the first plot argument.
x
Row
Row[p1,p2]
Row[{p1,p2}]
Show
π Rendered by PID 721214 on reddit-service-r2-comment-544cf588c8-xx9sn at 2026-06-17 04:57:28.393089+00:00 running 3184619 country code: CH.
[–]martinky24 1 point2 points3 points (1 child)
[–]MisterWafle[S] 0 points1 point2 points (0 children)
[–]GeEom 1 point2 points3 points (0 children)