Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

I want to plot function like this.

if $x > 6000$ plot function $y = 6000+ \frac{x}{15}$ otherwise plot y = $6000$

Suggest me any open source plotting software that has linux version. I have tried KmPlot, KAlgebra, kst they does not seem to has such option.

KAlgebra supports ? ... : notation but when I enter, it says invalid syntax. If you know how to draw this funciton in

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

You should check out gnuplot. It is in almost any Linux repository.

share|improve this answer
    
I think I have to learn a lot for that. –  Shiplu Jun 30 '12 at 13:38
1  
Check this out: duke.edu/~hpgavin/gnuplot.html –  ncmathsadist Jun 30 '12 at 13:48
    
I have solved it by using these commands. Now I want to know how can I keep the axis not messed up. –  Shiplu Jun 30 '12 at 14:42
add comment

Check out GNU Octave. This code should work out

if 3 > 4 ezplot('x^2 + y^2 = 25'); else ezplot('x^2/4 + y^2 = 36'); end

share|improve this answer
add comment

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.