[Thread Prev][Thread Next][Index]
[ferret_users] Plot multiple lines using plot/vs
- To: ferret_users@xxxxxxxx
- Subject: [ferret_users] Plot multiple lines using plot/vs
- From: Samrat Rao <samrat.rao@xxxxxxxxx>
- Date: Mon, 11 Apr 2011 15:14:02 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=L17b98Ysqn4pJg+8Q1GhQmdVFR19pzGryK7dOjDJwV0=; b=rpxUwK84LiQsJ5mNWqtyn025JSt76MfreJtnq3JmEACNzIfflgpT8iBQOu/j9ok3t4 CFH9j8AMtjSHWzDuyX0PcWNblwvFg9JIsZUTm0VtJIDW/80ZeyUfHkVTL2/i2MwX5g4+ ZbptPZjiwBEZrzEHiLxxUwkU5cVOwkr33dVqU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=QyHjxXVUEtszEOjxwgEQTUGQ5Hhgyko+CeG+6VI3smz7Xh2RLse0TUj3PiroRg0Pn+ kFH96IbP2sL/qmZVhPAWiZJEwf01pBAzpnEvUY+I3A9ZLKO4aFAMdo61FaeiY6o7D8eB Z6E+s1vFHHeov7j/QlSB6L5YaavDXv3iCt35g=
- Sender: owner-ferret_users@xxxxxxxx
Hi,
I'd like to plot multiple lines using plot/vs. I am unable to figure which combination of commands will do the job. For example:
yes? let x1 = {1,2,3,4}
yes? let y1 = {1,2,3,4}
yes? let x2 = {1.1,2.1,3.1,4.1}
yes? let y2 = {1.1,2.1,3.1,4.1}
yes? plot/hlim=0:5:1/vlim=0:5:1/vs/line/set x1,y1
yes? plot/vs/line/ov/set x2,y2
yes? go legend 1 "1st line"
yes? go legend 2 "2nd line"
yes? ppl plot
yes? ppl pot/over
Is there any other method like:
yes? plot/hlim=0:5:1/vlim=0:5:1/vs/line/set {x1,y1}, {x2,y2}
yes? go legend 1 "1st line"
yes? go legend 2 "2nd line"
yes? ppl plot
I am using this to get the legends. Any other method is fine as long as i am able to get multiple lines and the legends in one plot.
Thanks,
Samrat.
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement