Thread View: comp.graphics.apps.gnuplot
1 messages
1 total messages
Started by u600256@rho.lanl
Fri, 23 Aug 1996 00:00
RE: setting up the "key"
Author: u600256@rho.lanl
Date: Fri, 23 Aug 1996 00:00
Date: Fri, 23 Aug 1996 00:00
39 lines
1120 bytes
1120 bytes
In message-Id: <4vksnb$10s0@pulp.ucs.ualberta.ca> jimbo@ee.ualberta.ca (Jim Bauer) writes: > can someone tell me how to change the text in the key? i am plotting > with: > > G N U P L O T > MS-Windows 32 bit version 3.5 (pre 3.6) > patchlevel beta 261 > last modified Tue Jan 23 20:39:17 GMT 1996 > > and i am trying: > > gnuplot> plot 'FILE.DAT' using 1:2 with lines, 'FILE.DAT' using 1:3 > > so that i get a plot of theory (1:2) and actual (1:3) but the key is set > as "FILE.DAT using 1:2" and "FILE.DAT using 1:3" what i want is the key > do display "theoretical" and "measured" > > this is probably a simple one (i am sure i have seen it done before) but > i cant seem to find it in the HELP, any clues? > What you are looking for is the 'title' option on the 'plot' command: plot 'FILE.DAT' using 1:2 title 'theoretical' with lines,\ 'FILE.DAT' using 1:3 title 'measured' If you don't want a data set/function to appear in the key, use 'notitle' instead of 'title' (and, of course, no text). Or use 'set nokey' to eliminate the key entirely. Dick Crawford, aka rccrawford@lanl.gov
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads