|
From: Brett <bre...@16...> - 2016-03-18 08:07:10
|
Dear Derek, Thanks. If we do plot "1.dat" with lines title 'ABCD', the thickness of the color bar is corresponded to the text 'ABCD'. Is any way we get think color bar and thin ABCD' text by the gnuplot? Brett At 2016-03-17 21:36:12, "Derek Lamb" <de...@bo...> wrote: >You want to look at the many many options for 'set key'. See the gnuplot manual: if you have the PDF of version 5.0, 'set key' starts on pg 129. > >You can get your first (well, almost your first) request >1 blackbar >200 redbar >by doing 'set key Left' before your plot command. > >You can get your second request with 'set key reverse' > >best, >Derek > >> On Mar 17, 2016, at 6:29 AM, Brett <bre...@16...> wrote: >> >> Dear All, >> >> >> Suppose I have 1.dat and 200.dat. Whe I input >> >> >> plot "1.dat" with lines lt rgb "black" title '1', "200.dat" with lines lt rgb "red" title '200', >> >> >> For the output figure, the "black" bar is after txt "1", and the "red" bas is after "200". Is any way the text "1" followed by the "black" bar can align vertically with "2" of "200" followed by the "red" bar, just something like following: >> >> >> 1 black bar >> 200 red bar >> >> >> In addition, is any way the color bar occurs before the title text, at the same time the "black" bar followed by title text "1" align with the "red" bar followed by title text "200", just something like following: >> >> >> black bar 1 >> red bar 200 >> >> >> I am looking forward to getting a reply from you. >> >> >> Brett >> ------------------------------------------------------------------------------ >> Transform Data into Opportunity. >> Accelerate data analysis in your applications with >> Intel Data Analytics Acceleration Library. >> Click to learn more. >> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140 >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > |