Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am looking for online or offline software that can plot functions that include min() and max(). Neither of my favourites, Wolfram Alpha and fooplot seem to have these functions built in :-(

share|improve this question
    
You wish to plot mathematical functions and determine their extreme values, if I am correct ? –  ldigas Jun 11 '10 at 13:08
    
An example would be to plot y=2*(min(x,300)/300) between x=0 and x=400 –  Mick Jun 11 '10 at 13:18
    
I don't understand the upper syntax. How goes the function that you wish to plot ? –  ldigas Jun 11 '10 at 13:27
    
The min() function comes from C programming (and probably other languages too). min takes two arguments and returns the smaller of the two. So for example min(3,7) would return 3. –  Mick Jun 11 '10 at 13:33
    
@Mich - Heh. Yes ... I quite understand what is the min or the max function supposed to do :-) There is no problem in that. What I din't understand upon the time of writing the above comment is what was the upper function supposed to plot ? For it is not a typical mathematical syntax nor any that I commonly encountered so far ? At least not without further explanation on it. That's why I asked you to provide a working example ? However, if I understood you correctly you wish ... (see my answer) –  ldigas Jun 11 '10 at 13:40

1 Answer 1

up vote 0 down vote accepted

... (continuation from comments) to plot something like this:

alt text

which can simply be plotted from excel. In A column you place a number of points from 0 to 400, and in column B you place =2*(MIN(A32;300)/300) ... afterwards you plot both columns on xy plot.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.