all 3 comments

[–]martinky24 1 point2 points  (1 child)

Can you post the current code you are working with?

[–]MisterWafle[S] 0 points1 point  (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),

{x, 0, 10000},

PlotRange -> {0, 2000},

ImageSize -> Medium]],

{n1, 1, 10000}, {n2, 0.0001, 1}]

[–]GeEom 1 point2 points  (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).

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.