From: tom f. <tf...@sc...> - 2010-12-29 21:24:20
|
I've been playing with set contour surface and seen some nice results. However one issue I'm having is that I can select the contour values explicitly, as I'd like: set cntrparam levels discrete 60, 300, 600, 1800 but then they appear in my legend as "60", "300", etc. In my current case, those happen to represent seconds, so I'd like the labels to say "A minute", "5 minutes", etc. I have not yet found a way to do this. It would be really great if the discrete list could accept the same syntax as the "set ?tics" commands, e.g.: set cntrparam levels discrete ("A minute" 60, "5 minutes" 300, \ "10 minutes" 600, "Half hour" 1800) Perhaps there's another way to achieve what I'm looking for, though? Currently using 4.2, which is most convenient, but I've got 4.4 at home and could upgrade here if I really needed to. Thanks, -tom |
From: Thomas S. <t.s...@fz...> - 2010-12-31 12:25:00
|
until somebody builds this *axis label<->string assignment mechanism into 'clabel', you could change the clabel format to add a unit: set clabel "%.0f seconds" tom fogal-2 wrote: > > I've been playing with > > set contour surface > > and seen some nice results. However one issue I'm having is that I can > select the contour values explicitly, as I'd like: > > set cntrparam levels discrete 60, 300, 600, 1800 > > but then they appear in my legend as "60", "300", etc. In my current > case, those happen to represent seconds, so I'd like the labels to say > "A minute", "5 minutes", etc. I have not yet found a way to do this. > > It would be really great if the discrete list could accept the same > syntax as the "set ?tics" commands, e.g.: > > set cntrparam levels discrete ("A minute" 60, "5 minutes" 300, \ > "10 minutes" 600, "Half hour" 1800) > > Perhaps there's another way to achieve what I'm looking for, though? > > Currently using 4.2, which is most convenient, but I've got 4.4 at home > and could upgrade here if I really needed to. > > Thanks, > > -tom > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/contour-labels-in-key-tp30557199p30563223.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |