You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(2) |
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(3) |
Feb
(1) |
Mar
(2) |
Apr
(22) |
May
(52) |
Jun
(43) |
Jul
(36) |
Aug
(59) |
Sep
(37) |
Oct
(55) |
Nov
(39) |
Dec
(36) |
| 2005 |
Jan
(64) |
Feb
(40) |
Mar
(62) |
Apr
(58) |
May
(256) |
Jun
(77) |
Jul
(80) |
Aug
(39) |
Sep
(56) |
Oct
(36) |
Nov
(113) |
Dec
(68) |
| 2006 |
Jan
(43) |
Feb
(64) |
Mar
(69) |
Apr
(60) |
May
(71) |
Jun
(53) |
Jul
(63) |
Aug
(63) |
Sep
(76) |
Oct
(85) |
Nov
(82) |
Dec
(73) |
| 2007 |
Jan
(75) |
Feb
(82) |
Mar
(84) |
Apr
(104) |
May
(67) |
Jun
(101) |
Jul
(107) |
Aug
(138) |
Sep
(128) |
Oct
(106) |
Nov
(112) |
Dec
(112) |
| 2008 |
Jan
(94) |
Feb
(87) |
Mar
(146) |
Apr
(169) |
May
(75) |
Jun
(26) |
Jul
(26) |
Aug
(7) |
Sep
(18) |
Oct
(53) |
Nov
(42) |
Dec
(19) |
| 2009 |
Jan
(43) |
Feb
(39) |
Mar
(18) |
Apr
(45) |
May
(66) |
Jun
(87) |
Jul
(56) |
Aug
(41) |
Sep
(56) |
Oct
(139) |
Nov
(98) |
Dec
(88) |
| 2010 |
Jan
(81) |
Feb
(79) |
Mar
(83) |
Apr
(97) |
May
(124) |
Jun
(84) |
Jul
(53) |
Aug
(85) |
Sep
(89) |
Oct
(50) |
Nov
(98) |
Dec
(78) |
| 2011 |
Jan
(97) |
Feb
(74) |
Mar
(68) |
Apr
(54) |
May
(63) |
Jun
(59) |
Jul
(65) |
Aug
(58) |
Sep
(37) |
Oct
(40) |
Nov
(59) |
Dec
(35) |
| 2012 |
Jan
(16) |
Feb
(56) |
Mar
(63) |
Apr
(25) |
May
(48) |
Jun
(58) |
Jul
(20) |
Aug
(13) |
Sep
(43) |
Oct
(35) |
Nov
(20) |
Dec
(17) |
| 2013 |
Jan
(22) |
Feb
(11) |
Mar
(51) |
Apr
(34) |
May
(57) |
Jun
(27) |
Jul
(70) |
Aug
(30) |
Sep
(38) |
Oct
(53) |
Nov
(40) |
Dec
(25) |
| 2014 |
Jan
(26) |
Feb
(35) |
Mar
(60) |
Apr
(12) |
May
(17) |
Jun
(15) |
Jul
(9) |
Aug
(18) |
Sep
(46) |
Oct
(18) |
Nov
(19) |
Dec
(15) |
| 2015 |
Jan
(17) |
Feb
(28) |
Mar
(21) |
Apr
(54) |
May
(36) |
Jun
(8) |
Jul
(30) |
Aug
(13) |
Sep
(3) |
Oct
(28) |
Nov
(3) |
Dec
(3) |
| 2016 |
Jan
(11) |
Feb
(9) |
Mar
(29) |
Apr
(10) |
May
(8) |
Jun
(5) |
Jul
(50) |
Aug
(57) |
Sep
(13) |
Oct
(5) |
Nov
(17) |
Dec
(11) |
| 2017 |
Jan
(3) |
Feb
(23) |
Mar
(16) |
Apr
(7) |
May
(15) |
Jun
(12) |
Jul
(48) |
Aug
(15) |
Sep
(3) |
Oct
(20) |
Nov
(28) |
Dec
(21) |
| 2018 |
Jan
(13) |
Feb
(21) |
Mar
(21) |
Apr
(7) |
May
(3) |
Jun
(7) |
Jul
(27) |
Aug
(38) |
Sep
(4) |
Oct
(30) |
Nov
(22) |
Dec
|
| 2019 |
Jan
(5) |
Feb
(16) |
Mar
(1) |
Apr
(9) |
May
(7) |
Jun
(20) |
Jul
(13) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(2) |
Dec
(4) |
| 2020 |
Jan
(6) |
Feb
(11) |
Mar
(1) |
Apr
(18) |
May
(4) |
Jun
(5) |
Jul
(12) |
Aug
(1) |
Sep
(3) |
Oct
(7) |
Nov
(1) |
Dec
(17) |
| 2021 |
Jan
(1) |
Feb
(11) |
Mar
(16) |
Apr
(6) |
May
(5) |
Jun
(1) |
Jul
(1) |
Aug
(2) |
Sep
(8) |
Oct
(10) |
Nov
(4) |
Dec
(4) |
| 2022 |
Jan
(9) |
Feb
(35) |
Mar
(4) |
Apr
|
May
(3) |
Jun
(49) |
Jul
(11) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(16) |
Dec
(13) |
| 2023 |
Jan
|
Feb
(8) |
Mar
(3) |
Apr
|
May
(8) |
Jun
|
Jul
(5) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2024 |
Jan
(6) |
Feb
(9) |
Mar
|
Apr
(26) |
May
(24) |
Jun
|
Jul
(4) |
Aug
(2) |
Sep
(1) |
Oct
(10) |
Nov
(9) |
Dec
|
| 2025 |
Jan
|
Feb
(22) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
(4) |
| 2026 |
Jan
|
Feb
(24) |
Mar
(20) |
Apr
(13) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Ethan M. <eam...@gm...> - 2024-01-08 18:44:31
|
On Monday, 8 January 2024 09:50:35 PST Ingo Thies via gnuplot-info wrote:
> Dear everyone,
>
> I get the following error when I try to compile gnuplot 6.0.0:
>
> trm ja/term/webp.trm ja/term/win.trm ja/term/wxt.trm ja/term/x11.trm
> ja/term/xlib.trm |\
> LC_ALL=C sort -f -t':' -k2` ; do \
> f=`echo $e |cut -d\: -f1` ; s=`echo $e | cut -d\: -f2` ;\
> sed -n "/^[ ]*$s/,/^[ ]*END_HELP/p" $f ; \
> done >allterm.tmp
> sed: RE error: illegal byte sequence
> ...
>
> My system is macos 13.6.3 Ventura, I am using a bash shell.
Please see Bug report #2676
https://sourceforge.net/p/gnuplot/bugs/2676/
Can you confirm that inserting "LC_ALL=C" immediately in front of "sed"
fixes this?
Ethan
>
> Regards,
> Ingo
>
>
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Ingo T. <ing...@gm...> - 2024-01-08 17:50:58
|
Dear everyone, I get the following error when I try to compile gnuplot 6.0.0: trm ja/term/webp.trm ja/term/win.trm ja/term/wxt.trm ja/term/x11.trm ja/term/xlib.trm |\ LC_ALL=C sort -f -t':' -k2` ; do \ f=`echo $e |cut -d\: -f1` ; s=`echo $e | cut -d\: -f2` ;\ sed -n "/^[ ]*$s/,/^[ ]*END_HELP/p" $f ; \ done >allterm.tmp sed: RE error: illegal byte sequence ... My system is macos 13.6.3 Ventura, I am using a bash shell. Regards, Ingo |
|
From: Dave H. <da...@ho...> - 2023-12-05 04:41:39
|
On Tue, 5 Dec 2023, Rami Boutassghount wrote:
[...]
> These commands are
> not_allowed = ["set terminal", "set output", "gpval_", "cd ", "system "]
>
> *Is there anything else that I should consider?*
This suggests that you should consider reversing the test i.e. allow the
ones deemed to be safe and block the rest by default ("fail safe"); this
is what good firewalls do, as you are protected from future (and unsafe)
additions.
Of course, you'll have to extend the list where necessary, but you'll have
to do that with future unsafe commands anyway.
-- Dave
|
|
From: Rami B. <ram...@gm...> - 2023-12-05 03:36:34
|
Hello everyone, Yesterday I was looking for an online gnuplot compiler tool, and it did not find any. So I build my own: https://ramiboutas.com/gnuplot The idea behind it was to test some plots when I don't want to use the terminal every time I want to plot something. So, I built the interface to the compiler using PNG output. However, I needed to block some commands (understanding command for any user string input that goes in the text area), so that a user cannot have information about my server or anything not desired. These commands are not_allowed = ["set terminal", "set output", "gpval_", "cd ", "system "] *Is there anything else that I should consider?* Thank you very much! Have a nice day, Rami. |
|
From: Peter R. <p.r...@sh...> - 2023-10-23 10:11:10
|
Not sure if I have understood correctly, but would one solution be to write a separate program that received your data and piped an appropriately formatted set of gnuplot commands to a terminal of your choice; this intermediate program could format the gnuplot commands as required via, say a simple GUI? I am guessing this will be much easier than modifying the code for an existing terminal. FWIW: I prefer the wxt terminal since, among other things, it keeps the aspect ratio of the graph the same when you resize the terminal window. P. On 23/10/2023 02:36, Michael Brian Bentley wrote: > Hiya! > > I've been working with gnuplot on a testbench project for a friend > starting around 2020, and I have it working quite well, it draws the > charts we need. I've been using the qt terminal for this work on macOS > because it lets us pan and zoom interactively to some degree. > > It doesn't, however allow me to multiple charts with a common x axis, > and the interaction precision leaves much to be desired. > > I started looking around for another perhaps better terminal, and > found aquaterm. I'm sure I tried this terminal first back in 2020, but > ran into a couple issues right away. One thing it does is decide that > a smaller window is desired, when I set the size to 2560 x 1440. > > Is there a trick to it? > > If I were going to dive into the source of qt, I'd be faced with the > QT library and (I expect) C++ code. Aquaterm looks like a native > Objective-C app; the thing aquaterm doesn't do that qt term does is > buffer the commands to redraw the chart when you pan and zoom. > > Thanks! > > -Mike > > > |
|
From: Michael B. B. <be...@cr...> - 2023-10-23 01:57:00
|
Hiya! I've been working with gnuplot on a testbench project for a friend starting around 2020, and I have it working quite well, it draws the charts we need. I've been using the qt terminal for this work on macOS because it lets us pan and zoom interactively to some degree. It doesn't, however allow me to multiple charts with a common x axis, and the interaction precision leaves much to be desired. I started looking around for another perhaps better terminal, and found aquaterm. I'm sure I tried this terminal first back in 2020, but ran into a couple issues right away. One thing it does is decide that a smaller window is desired, when I set the size to 2560 x 1440. Is there a trick to it? If I were going to dive into the source of qt, I'd be faced with the QT library and (I expect) C++ code. Aquaterm looks like a native Objective-C app; the thing aquaterm doesn't do that qt term does is buffer the commands to redraw the chart when you pan and zoom. Thanks! -Mike -- Michael Brian Bentley Application Development Consulting Crenelle Technologies LLC be...@cr... +1 (206) 601-7758 17823 McLean Rd SW Vashon, WA 98070-5421 |
|
From: Paul S. <lan...@gm...> - 2023-07-28 13:55:13
|
I am trying to plot data with pm3d and contours, but the contours don't show up on the plot. The data file is attached and the script is below: #!/usr/bin/env gnuplot set term pngcairo enh col size 800,600 font ",18" set output 'out.png' unset key set palette maxcol 0 set contour surface set cntrparam levels discrete 0.1 set pm3d map interp 0,0 splot 'test.txt' us 1:2:($6/$7) The pm3d plot is rendered correctly but the contours are missing. Any ideas? |
|
From: Patrick A. <pat...@ge...> - 2023-07-28 11:21:40
|
I am trying to plot data with pm3d and contours, but the contours don't show up on the plot. The data file is attached and the script is below: #!/usr/bin/env gnuplot set term pngcairo enh col size 800,600 font ",18" set output 'out.png' unset key set palette maxcol 0 set contour surface set cntrparam levels discrete 0.1 set pm3d map interp 0,0 splot 'test.txt' us 1:2:($6/$7) The pm3d plot is rendered correctly but the contours are missing. Any ideas? |
|
From: Patrick A. <al...@co...> - 2023-07-28 05:58:58
|
I am trying to plot data with pm3d and contours, but the contours don't show up on the plot. The data file is attached and the script is below: #!/usr/bin/env gnuplot set term pngcairo enh col size 800,600 font ",18" set output 'out.png' unset key set palette maxcol 0 set contour surface set cntrparam levels discrete 0.1 set pm3d map interp 0,0 splot 'test.txt' us 1:2:($6/$7) The pm3d plot is rendered correctly but the contours are missing. Any ideas? |
|
From: hchiPer <hc...@gm...> - 2023-07-11 06:21:32
|
Hi,
Your PDF shows data that don't exist in your datafile.
Anyway, regarding the x scale, after
set timefmt "%d/%m/%y"
you could add
set xrange ["01/01/23":*]
to avoid gnuplot using some "rounded" limits for x axis.
You did something similar for yrange at line 96.
Tested with wxt terminal, gnuplot 5.4.6.
Laurent
Le 11/07/23 à 00:43, Dave Horsfall a écrit :
> Gnuplot 5.4 patchlevel 8, MacBook Pro (mid-2010) on High Sierra 10.13.6.
>
> See http://www.horsfall.org/health.pdf and note how the X-axis starts on
> 01 Dec 2022 and not 01 Jan 2023 as specified in the data file (attached).
>
> I can "fix" it by commenting out the first line of data as demonstrated.
>
> The command script is also attached.
>
> Seems like a bug to me...
>
> Thanks.
>
> -- Dave
>
>
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info
|
|
From: Dave H. <da...@ho...> - 2023-07-10 23:14:49
|
Gnuplot 5.4 patchlevel 8, MacBook Pro (mid-2010) on High Sierra 10.13.6. See http://www.horsfall.org/health.pdf and note how the X-axis starts on 01 Dec 2022 and not 01 Jan 2023 as specified in the data file (attached). I can "fix" it by commenting out the first line of data as demonstrated. The command script is also attached. Seems like a bug to me... Thanks. -- Dave |
|
From: Debostuti G. <deb...@gm...> - 2023-05-18 18:44:19
|
Dear Ethan I installed 5.4.6 but it is showing terminal type as unknown. pngcairo etc are no longer available to me. Looks like the reason is the absence of libgd (checked the config.log file). Could you point me to a resource that can help me in understanding what packages need to be installed for proper functioning of the current version? I do not want to do an update of my entire system for several reasons. Would rather install individual dependencies. Or is there a way to configure gnuplot so that pngcairo, etc are made available? I do not recall doing anything special for my earlier version of gnuplot...or maybe since it's been there since a very long time in my system I have forgotten. Debostuti On Thu, May 18, 2023 at 9:44 PM Ethan Merritt <eam...@gm...> wrote: > On Thursday, 18 May 2023 05:08:36 PDT Debostuti Ghoshdastidar wrote: > > > > > However the bars are not getting colored according to col i+1, although > the > > key is (please see attached image). Could you please help me understand > > whats going wrong? > > > > Debostuti > > I am guessing that your gnuplot executable is not current. > There was a bug that affected this specific kind of plot, fixed in > the September 2022 gnuplot release (version 5.4 patchlevel 5). > I should have remembered that and mentioned it before. > > The current release level is 5.4.6, with 5.4.7 queued for later > this month. > > Ethan > > > > Hi Ethan > > > > I followed your suggestions and made little tweaks to the script as > follows: > > ----------------------------------------------- > > set lt 101 lw 4 lc "red" > > set lt 102 lw 4 lc "pink" > > set lt 103 lw 4 lc "dark-blue" > > set lt 104 lw 4 lc "blue" > > set lt 105 lw 4 lc "royalblue" > > . > > . > > . > > set lt 120 lw 4 lc 'white' #*set 20 custom colors* > > set style data histogram > > set style histogram rows > > set style fill solid border lc "black" > > #set style line 2 lc 'black' lt 1 lw 2 > > set boxwidth 0.80 > > alphabet = "GAVLIPWFYSTCMNQHKRDE" > > color(category) = 100 + strstrt(alphabet, category) > > plot for [i=3:10:2] 'test.dat' using > > (column(i)):(color(strcol(i+1))):xtic(1):x2tic(2) lc variable > > > ----------------------------------------------------------------------------------------------------------------------- > > > > for the following test data (the real data will have all 20 amino acids > in > > a row): > > > > test.dat: > > 1 Gly 0.03 G 0 A 0 V 0 I > > 2 Met 0.03 M 0 A 0 V 0 I > > 3 Arg 0.94 R 0 A 0 V 0 I > > 5 Arg 0.94 R 0 A 0 V 0 I > > 6 Tyr 0.97 Y 0 A 0 V 0 I > > 7 Val 0.03 V 0 G 0 A 0 I > > 8 Cys 0.88 C 0 G 0 A 0 V > > 9 Glu 1.00 E 0 G 0 A 0 V > > 11 Pro 0.03 R 0.09 P 0 A 0 G > > 12 Ser 0.58 S 0 G 0 A 0 V > > 13 His 0.03 S 0.15 R 0.21 A 0.61 H > > 14 Gly 0.03 A 0.06 S 0.61 G 0 V > > 15 Gly 0.06 S 0.12 A 0.21 G 0 V > > > > > -------------------------------------------------------------------------------------------------- > > > > > > > > On Thu, May 18, 2023 at 2:10 AM Ethan Merritt <eam...@gm...> > wrote: > > > > > On Wednesday, 17 May 2023 09:47:43 PDT Debostuti Ghoshdastidar wrote: > > > > Hi Ethan > > > > > > > > Thank you for the solution. Each Y column will be a score for a > > > particular > > > > amino acid. The Y columns will be in increasing order of the score > value. > > > > Each Z will always correspond to a particular color we use to > represent > > > the > > > > amino acid that will be in the corresponding y column. We will use a > set > > > of > > > > 20 colors to represent 20 amino Acids. > > > > > > Ah. In that case you probably don't want "lc palette", which assumes > > > a continuous range of values and a smoothly-varying color palette. > > > Instead define 20 distinct colors in a convenient range of linetypes, > > > say lt 101 through lt 120, indexed by the value in column Zn. > > > That matches this demo from the on-line collection very closely: > > > > > > https://gnuplot.sourceforge.net/demo_5.4/histogram_colors.html > > > > > > If you have the one letter code in the Z column (P for Proline, etc) > > > you could use pieces of the demo code directly. > > > > > > alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" > > > color(category) = 100 + strstrt(alphabet, category) > > > plot for [i=2:*:2] DATA using (column(i)):(color(strcol(i+1)) lc > > > variable > > > > > > Otherwise you could define a slightly more complicated color() function > > > that > > > for instance maps from the 3-letter code, e.g. > > > array AA = ["Ala", "Cys", "Asp", "Glu", ...] > > > color(category) = 100 + sum [1:20] (category eq AA[i]) ? i : 0) > > > > > > cheers, > > > > > > Ethan > > > > > > > > Debostuti > > > > > > > > On Wed, 17 May 2023, 21:36 Ethan Merritt, <eam...@gm...> > wrote: > > > > > > > > > On Tue, May 16, 2023 at 9:52 PM Debostuti Ghoshdastidar < > > > > > deb...@gm...> wrote: > > > > > > > > > >> Dear Users > > > > >> > > > > >> I have data in the following format > > > > >> > > > > >> X1 Y1 Z1 Y2 Z2...Yn Zn > > > > >> X2 Y1 Z1 Y2 Z2...Yn Zn > > > > >> . > > > > >> . > > > > >> . > > > > >> Xn Y1 Z1 Y2 Z2...Yn Zn > > > > >> > > > > >> I would like to draw a rowstacked histogram (which I know how to) > > > where > > > > >> the > > > > >> colors for the bars are specified by the corresponding Z columns. > For > > > > >> example Y1 should be colored based on Z1 value, Y2 based on Z2 > value, > > > and > > > > >> so on...mush like the use of cbrange. Could you suggest how I can > > > > >> accomplish this? > > > > >> > > > > > > > > > > set style data histogram > > > > > set style histogram rows > > > > > set style fill solid border lc "black" > > > > > set cbrange [0:<something>] > > > > > plot for [i=2:*:2] DATA using (column(i)):(column(i+1)) lc palette > > > title > > > > > "???" > > > > > > > > > > It is not clear to me how you would label or construct a legend > > > describing > > > > > this in a way that is easy for the viewer to understand. Perhaps > > > > > superimpose > > > > > a label on top of each individual box? > > > > > > > > > > Ethan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >> Thank you > > > > >> > > > > >> Debostuti > > > > >> -- > > > > >> Debostuti Ghosh Dastidar > > > > >> Research Associate > > > > >> PDB-India > > > > >> > > > > >> _______________________________________________ > > > > >> gnuplot-info mailing list > > > > >> gnu...@li... > > > > >> Membership management via: > > > > >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- Debostuti Ghosh Dastidar Research Associate PDB-India |
|
From: Ethan M. <eam...@gm...> - 2023-05-18 16:15:06
|
On Thursday, 18 May 2023 05:08:36 PDT Debostuti Ghoshdastidar wrote: > > However the bars are not getting colored according to col i+1, although the > key is (please see attached image). Could you please help me understand > whats going wrong? > > Debostuti I am guessing that your gnuplot executable is not current. There was a bug that affected this specific kind of plot, fixed in the September 2022 gnuplot release (version 5.4 patchlevel 5). I should have remembered that and mentioned it before. The current release level is 5.4.6, with 5.4.7 queued for later this month. Ethan > Hi Ethan > > I followed your suggestions and made little tweaks to the script as follows: > ----------------------------------------------- > set lt 101 lw 4 lc "red" > set lt 102 lw 4 lc "pink" > set lt 103 lw 4 lc "dark-blue" > set lt 104 lw 4 lc "blue" > set lt 105 lw 4 lc "royalblue" > . > . > . > set lt 120 lw 4 lc 'white' #*set 20 custom colors* > set style data histogram > set style histogram rows > set style fill solid border lc "black" > #set style line 2 lc 'black' lt 1 lw 2 > set boxwidth 0.80 > alphabet = "GAVLIPWFYSTCMNQHKRDE" > color(category) = 100 + strstrt(alphabet, category) > plot for [i=3:10:2] 'test.dat' using > (column(i)):(color(strcol(i+1))):xtic(1):x2tic(2) lc variable > ----------------------------------------------------------------------------------------------------------------------- > > for the following test data (the real data will have all 20 amino acids in > a row): > > test.dat: > 1 Gly 0.03 G 0 A 0 V 0 I > 2 Met 0.03 M 0 A 0 V 0 I > 3 Arg 0.94 R 0 A 0 V 0 I > 5 Arg 0.94 R 0 A 0 V 0 I > 6 Tyr 0.97 Y 0 A 0 V 0 I > 7 Val 0.03 V 0 G 0 A 0 I > 8 Cys 0.88 C 0 G 0 A 0 V > 9 Glu 1.00 E 0 G 0 A 0 V > 11 Pro 0.03 R 0.09 P 0 A 0 G > 12 Ser 0.58 S 0 G 0 A 0 V > 13 His 0.03 S 0.15 R 0.21 A 0.61 H > 14 Gly 0.03 A 0.06 S 0.61 G 0 V > 15 Gly 0.06 S 0.12 A 0.21 G 0 V > > -------------------------------------------------------------------------------------------------- > > > > On Thu, May 18, 2023 at 2:10 AM Ethan Merritt <eam...@gm...> wrote: > > > On Wednesday, 17 May 2023 09:47:43 PDT Debostuti Ghoshdastidar wrote: > > > Hi Ethan > > > > > > Thank you for the solution. Each Y column will be a score for a > > particular > > > amino acid. The Y columns will be in increasing order of the score value. > > > Each Z will always correspond to a particular color we use to represent > > the > > > amino acid that will be in the corresponding y column. We will use a set > > of > > > 20 colors to represent 20 amino Acids. > > > > Ah. In that case you probably don't want "lc palette", which assumes > > a continuous range of values and a smoothly-varying color palette. > > Instead define 20 distinct colors in a convenient range of linetypes, > > say lt 101 through lt 120, indexed by the value in column Zn. > > That matches this demo from the on-line collection very closely: > > > > https://gnuplot.sourceforge.net/demo_5.4/histogram_colors.html > > > > If you have the one letter code in the Z column (P for Proline, etc) > > you could use pieces of the demo code directly. > > > > alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" > > color(category) = 100 + strstrt(alphabet, category) > > plot for [i=2:*:2] DATA using (column(i)):(color(strcol(i+1)) lc > > variable > > > > Otherwise you could define a slightly more complicated color() function > > that > > for instance maps from the 3-letter code, e.g. > > array AA = ["Ala", "Cys", "Asp", "Glu", ...] > > color(category) = 100 + sum [1:20] (category eq AA[i]) ? i : 0) > > > > cheers, > > > > Ethan > > > > > > Debostuti > > > > > > On Wed, 17 May 2023, 21:36 Ethan Merritt, <eam...@gm...> wrote: > > > > > > > On Tue, May 16, 2023 at 9:52 PM Debostuti Ghoshdastidar < > > > > deb...@gm...> wrote: > > > > > > > >> Dear Users > > > >> > > > >> I have data in the following format > > > >> > > > >> X1 Y1 Z1 Y2 Z2...Yn Zn > > > >> X2 Y1 Z1 Y2 Z2...Yn Zn > > > >> . > > > >> . > > > >> . > > > >> Xn Y1 Z1 Y2 Z2...Yn Zn > > > >> > > > >> I would like to draw a rowstacked histogram (which I know how to) > > where > > > >> the > > > >> colors for the bars are specified by the corresponding Z columns. For > > > >> example Y1 should be colored based on Z1 value, Y2 based on Z2 value, > > and > > > >> so on...mush like the use of cbrange. Could you suggest how I can > > > >> accomplish this? > > > >> > > > > > > > > set style data histogram > > > > set style histogram rows > > > > set style fill solid border lc "black" > > > > set cbrange [0:<something>] > > > > plot for [i=2:*:2] DATA using (column(i)):(column(i+1)) lc palette > > title > > > > "???" > > > > > > > > It is not clear to me how you would label or construct a legend > > describing > > > > this in a way that is easy for the viewer to understand. Perhaps > > > > superimpose > > > > a label on top of each individual box? > > > > > > > > Ethan > > > > > > > > > > > > > > > > > > > > > > > >> Thank you > > > >> > > > >> Debostuti > > > >> -- > > > >> Debostuti Ghosh Dastidar > > > >> Research Associate > > > >> PDB-India > > > >> > > > >> _______________________________________________ > > > >> gnuplot-info mailing list > > > >> gnu...@li... > > > >> Membership management via: > > > >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > >> > > > > > > > > > > > > > > > > > > > |
|
From: Debostuti G. <deb...@gm...> - 2023-05-18 11:34:37
|
Hi Ethan
I followed your suggestions and made little tweaks to the script as follows:
-----------------------------------------------
set lt 101 lw 4 lc "red"
set lt 102 lw 4 lc "pink"
set lt 103 lw 4 lc "dark-blue"
set lt 104 lw 4 lc "blue"
set lt 105 lw 4 lc "royalblue"
.
.
.
set lt 120 lw 4 lc 'white' #*set 20 custom colors*
set style data histogram
set style histogram rows
set style fill solid border lc "black"
#set style line 2 lc 'black' lt 1 lw 2
set boxwidth 0.80
alphabet = "GAVLIPWFYSTCMNQHKRDE"
color(category) = 100 + strstrt(alphabet, category)
plot for [i=3:10:2] 'test.dat' using
(column(i)):(color(strcol(i+1))):xtic(1):x2tic(2) lc variable
-----------------------------------------------------------------------------------------------------------------------
for the following test data (the real data will have all 20 amino acids in
a row):
test.dat:
1 Gly 0.03 G 0 A 0 V 0 I
2 Met 0.03 M 0 A 0 V 0 I
3 Arg 0.94 R 0 A 0 V 0 I
5 Arg 0.94 R 0 A 0 V 0 I
6 Tyr 0.97 Y 0 A 0 V 0 I
7 Val 0.03 V 0 G 0 A 0 I
8 Cys 0.88 C 0 G 0 A 0 V
9 Glu 1.00 E 0 G 0 A 0 V
11 Pro 0.03 R 0.09 P 0 A 0 G
12 Ser 0.58 S 0 G 0 A 0 V
13 His 0.03 S 0.15 R 0.21 A 0.61 H
14 Gly 0.03 A 0.06 S 0.61 G 0 V
15 Gly 0.06 S 0.12 A 0.21 G 0 V
--------------------------------------------------------------------------------------------------
However the bars are not getting colored according to col i+1, although the
key is (please see attached image). Could you please help me understand
whats going wrong?
Debostuti
On Thu, May 18, 2023 at 2:10 AM Ethan Merritt <eam...@gm...> wrote:
> On Wednesday, 17 May 2023 09:47:43 PDT Debostuti Ghoshdastidar wrote:
> > Hi Ethan
> >
> > Thank you for the solution. Each Y column will be a score for a
> particular
> > amino acid. The Y columns will be in increasing order of the score value.
> > Each Z will always correspond to a particular color we use to represent
> the
> > amino acid that will be in the corresponding y column. We will use a set
> of
> > 20 colors to represent 20 amino Acids.
>
> Ah. In that case you probably don't want "lc palette", which assumes
> a continuous range of values and a smoothly-varying color palette.
> Instead define 20 distinct colors in a convenient range of linetypes,
> say lt 101 through lt 120, indexed by the value in column Zn.
> That matches this demo from the on-line collection very closely:
>
> https://gnuplot.sourceforge.net/demo_5.4/histogram_colors.html
>
> If you have the one letter code in the Z column (P for Proline, etc)
> you could use pieces of the demo code directly.
>
> alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
> color(category) = 100 + strstrt(alphabet, category)
> plot for [i=2:*:2] DATA using (column(i)):(color(strcol(i+1)) lc
> variable
>
> Otherwise you could define a slightly more complicated color() function
> that
> for instance maps from the 3-letter code, e.g.
> array AA = ["Ala", "Cys", "Asp", "Glu", ...]
> color(category) = 100 + sum [1:20] (category eq AA[i]) ? i : 0)
>
> cheers,
>
> Ethan
> >
> > Debostuti
> >
> > On Wed, 17 May 2023, 21:36 Ethan Merritt, <eam...@gm...> wrote:
> >
> > > On Tue, May 16, 2023 at 9:52 PM Debostuti Ghoshdastidar <
> > > deb...@gm...> wrote:
> > >
> > >> Dear Users
> > >>
> > >> I have data in the following format
> > >>
> > >> X1 Y1 Z1 Y2 Z2...Yn Zn
> > >> X2 Y1 Z1 Y2 Z2...Yn Zn
> > >> .
> > >> .
> > >> .
> > >> Xn Y1 Z1 Y2 Z2...Yn Zn
> > >>
> > >> I would like to draw a rowstacked histogram (which I know how to)
> where
> > >> the
> > >> colors for the bars are specified by the corresponding Z columns. For
> > >> example Y1 should be colored based on Z1 value, Y2 based on Z2 value,
> and
> > >> so on...mush like the use of cbrange. Could you suggest how I can
> > >> accomplish this?
> > >>
> > >
> > > set style data histogram
> > > set style histogram rows
> > > set style fill solid border lc "black"
> > > set cbrange [0:<something>]
> > > plot for [i=2:*:2] DATA using (column(i)):(column(i+1)) lc palette
> title
> > > "???"
> > >
> > > It is not clear to me how you would label or construct a legend
> describing
> > > this in a way that is easy for the viewer to understand. Perhaps
> > > superimpose
> > > a label on top of each individual box?
> > >
> > > Ethan
> > >
> > >
> > >
> > >
> > >
> > >> Thank you
> > >>
> > >> Debostuti
> > >> --
> > >> Debostuti Ghosh Dastidar
> > >> Research Associate
> > >> PDB-India
> > >>
> > >> _______________________________________________
> > >> gnuplot-info mailing list
> > >> gnu...@li...
> > >> Membership management via:
> > >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> > >>
> > >
> >
>
>
>
>
>
--
Debostuti Ghosh Dastidar
Research Associate
PDB-India
|
|
From: Debostuti G. <deb...@gm...> - 2023-05-18 01:01:12
|
That's great!! Thanks a lot Ethan... On Thu, 18 May 2023, 02:10 Ethan Merritt, <eam...@gm...> wrote: > On Wednesday, 17 May 2023 09:47:43 PDT Debostuti Ghoshdastidar wrote: > > Hi Ethan > > > > Thank you for the solution. Each Y column will be a score for a > particular > > amino acid. The Y columns will be in increasing order of the score value. > > Each Z will always correspond to a particular color we use to represent > the > > amino acid that will be in the corresponding y column. We will use a set > of > > 20 colors to represent 20 amino Acids. > > Ah. In that case you probably don't want "lc palette", which assumes > a continuous range of values and a smoothly-varying color palette. > Instead define 20 distinct colors in a convenient range of linetypes, > say lt 101 through lt 120, indexed by the value in column Zn. > That matches this demo from the on-line collection very closely: > > https://gnuplot.sourceforge.net/demo_5.4/histogram_colors.html > > If you have the one letter code in the Z column (P for Proline, etc) > you could use pieces of the demo code directly. > > alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" > color(category) = 100 + strstrt(alphabet, category) > plot for [i=2:*:2] DATA using (column(i)):(color(strcol(i+1)) lc > variable > > Otherwise you could define a slightly more complicated color() function > that > for instance maps from the 3-letter code, e.g. > array AA = ["Ala", "Cys", "Asp", "Glu", ...] > color(category) = 100 + sum [1:20] (category eq AA[i]) ? i : 0) > > cheers, > > Ethan > > > > Debostuti > > > > On Wed, 17 May 2023, 21:36 Ethan Merritt, <eam...@gm...> wrote: > > > > > On Tue, May 16, 2023 at 9:52 PM Debostuti Ghoshdastidar < > > > deb...@gm...> wrote: > > > > > >> Dear Users > > >> > > >> I have data in the following format > > >> > > >> X1 Y1 Z1 Y2 Z2...Yn Zn > > >> X2 Y1 Z1 Y2 Z2...Yn Zn > > >> . > > >> . > > >> . > > >> Xn Y1 Z1 Y2 Z2...Yn Zn > > >> > > >> I would like to draw a rowstacked histogram (which I know how to) > where > > >> the > > >> colors for the bars are specified by the corresponding Z columns. For > > >> example Y1 should be colored based on Z1 value, Y2 based on Z2 value, > and > > >> so on...mush like the use of cbrange. Could you suggest how I can > > >> accomplish this? > > >> > > > > > > set style data histogram > > > set style histogram rows > > > set style fill solid border lc "black" > > > set cbrange [0:<something>] > > > plot for [i=2:*:2] DATA using (column(i)):(column(i+1)) lc palette > title > > > "???" > > > > > > It is not clear to me how you would label or construct a legend > describing > > > this in a way that is easy for the viewer to understand. Perhaps > > > superimpose > > > a label on top of each individual box? > > > > > > Ethan > > > > > > > > > > > > > > > > > >> Thank you > > >> > > >> Debostuti > > >> -- > > >> Debostuti Ghosh Dastidar > > >> Research Associate > > >> PDB-India > > >> > > >> _______________________________________________ > > >> gnuplot-info mailing list > > >> gnu...@li... > > >> Membership management via: > > >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > >> > > > > > > > > > > |
|
From: Ethan M. <eam...@gm...> - 2023-05-17 20:40:10
|
On Wednesday, 17 May 2023 09:47:43 PDT Debostuti Ghoshdastidar wrote:
> Hi Ethan
>
> Thank you for the solution. Each Y column will be a score for a particular
> amino acid. The Y columns will be in increasing order of the score value.
> Each Z will always correspond to a particular color we use to represent the
> amino acid that will be in the corresponding y column. We will use a set of
> 20 colors to represent 20 amino Acids.
Ah. In that case you probably don't want "lc palette", which assumes
a continuous range of values and a smoothly-varying color palette.
Instead define 20 distinct colors in a convenient range of linetypes,
say lt 101 through lt 120, indexed by the value in column Zn.
That matches this demo from the on-line collection very closely:
https://gnuplot.sourceforge.net/demo_5.4/histogram_colors.html
If you have the one letter code in the Z column (P for Proline, etc)
you could use pieces of the demo code directly.
alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
color(category) = 100 + strstrt(alphabet, category)
plot for [i=2:*:2] DATA using (column(i)):(color(strcol(i+1)) lc variable
Otherwise you could define a slightly more complicated color() function that
for instance maps from the 3-letter code, e.g.
array AA = ["Ala", "Cys", "Asp", "Glu", ...]
color(category) = 100 + sum [1:20] (category eq AA[i]) ? i : 0)
cheers,
Ethan
>
> Debostuti
>
> On Wed, 17 May 2023, 21:36 Ethan Merritt, <eam...@gm...> wrote:
>
> > On Tue, May 16, 2023 at 9:52 PM Debostuti Ghoshdastidar <
> > deb...@gm...> wrote:
> >
> >> Dear Users
> >>
> >> I have data in the following format
> >>
> >> X1 Y1 Z1 Y2 Z2...Yn Zn
> >> X2 Y1 Z1 Y2 Z2...Yn Zn
> >> .
> >> .
> >> .
> >> Xn Y1 Z1 Y2 Z2...Yn Zn
> >>
> >> I would like to draw a rowstacked histogram (which I know how to) where
> >> the
> >> colors for the bars are specified by the corresponding Z columns. For
> >> example Y1 should be colored based on Z1 value, Y2 based on Z2 value, and
> >> so on...mush like the use of cbrange. Could you suggest how I can
> >> accomplish this?
> >>
> >
> > set style data histogram
> > set style histogram rows
> > set style fill solid border lc "black"
> > set cbrange [0:<something>]
> > plot for [i=2:*:2] DATA using (column(i)):(column(i+1)) lc palette title
> > "???"
> >
> > It is not clear to me how you would label or construct a legend describing
> > this in a way that is easy for the viewer to understand. Perhaps
> > superimpose
> > a label on top of each individual box?
> >
> > Ethan
> >
> >
> >
> >
> >
> >> Thank you
> >>
> >> Debostuti
> >> --
> >> Debostuti Ghosh Dastidar
> >> Research Associate
> >> PDB-India
> >>
> >> _______________________________________________
> >> gnuplot-info mailing list
> >> gnu...@li...
> >> Membership management via:
> >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
> >>
> >
>
|
|
From: Debostuti G. <deb...@gm...> - 2023-05-17 16:48:02
|
Hi Ethan Thank you for the solution. Each Y column will be a score for a particular amino acid. The Y columns will be in increasing order of the score value. Each Z will always correspond to a particular color we use to represent the amino acid that will be in the corresponding y column. We will use a set of 20 colors to represent 20 amino Acids. Debostuti On Wed, 17 May 2023, 21:36 Ethan Merritt, <eam...@gm...> wrote: > On Tue, May 16, 2023 at 9:52 PM Debostuti Ghoshdastidar < > deb...@gm...> wrote: > >> Dear Users >> >> I have data in the following format >> >> X1 Y1 Z1 Y2 Z2...Yn Zn >> X2 Y1 Z1 Y2 Z2...Yn Zn >> . >> . >> . >> Xn Y1 Z1 Y2 Z2...Yn Zn >> >> I would like to draw a rowstacked histogram (which I know how to) where >> the >> colors for the bars are specified by the corresponding Z columns. For >> example Y1 should be colored based on Z1 value, Y2 based on Z2 value, and >> so on...mush like the use of cbrange. Could you suggest how I can >> accomplish this? >> > > set style data histogram > set style histogram rows > set style fill solid border lc "black" > set cbrange [0:<something>] > plot for [i=2:*:2] DATA using (column(i)):(column(i+1)) lc palette title > "???" > > It is not clear to me how you would label or construct a legend describing > this in a way that is easy for the viewer to understand. Perhaps > superimpose > a label on top of each individual box? > > Ethan > > > > > >> Thank you >> >> Debostuti >> -- >> Debostuti Ghosh Dastidar >> Research Associate >> PDB-India >> >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> Membership management via: >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info >> > |
|
From: Ethan M. <eam...@gm...> - 2023-05-17 16:06:12
|
On Tue, May 16, 2023 at 9:52 PM Debostuti Ghoshdastidar <
deb...@gm...> wrote:
> Dear Users
>
> I have data in the following format
>
> X1 Y1 Z1 Y2 Z2...Yn Zn
> X2 Y1 Z1 Y2 Z2...Yn Zn
> .
> .
> .
> Xn Y1 Z1 Y2 Z2...Yn Zn
>
> I would like to draw a rowstacked histogram (which I know how to) where the
> colors for the bars are specified by the corresponding Z columns. For
> example Y1 should be colored based on Z1 value, Y2 based on Z2 value, and
> so on...mush like the use of cbrange. Could you suggest how I can
> accomplish this?
>
set style data histogram
set style histogram rows
set style fill solid border lc "black"
set cbrange [0:<something>]
plot for [i=2:*:2] DATA using (column(i)):(column(i+1)) lc palette title
"???"
It is not clear to me how you would label or construct a legend describing
this in a way that is easy for the viewer to understand. Perhaps
superimpose
a label on top of each individual box?
Ethan
> Thank you
>
> Debostuti
> --
> Debostuti Ghosh Dastidar
> Research Associate
> PDB-India
>
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> Membership management via:
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
|
|
From: Debostuti G. <deb...@gm...> - 2023-05-17 04:52:14
|
Dear Users I have data in the following format X1 Y1 Z1 Y2 Z2...Yn Zn X2 Y1 Z1 Y2 Z2...Yn Zn . . . Xn Y1 Z1 Y2 Z2...Yn Zn I would like to draw a rowstacked histogram (which I know how to) where the colors for the bars are specified by the corresponding Z columns. For example Y1 should be colored based on Z1 value, Y2 based on Z2 value, and so on...mush like the use of cbrange. Could you suggest how I can accomplish this? Thank you Debostuti -- Debostuti Ghosh Dastidar Research Associate PDB-India |
|
From: hchiPer <hc...@gm...> - 2023-03-18 06:26:42
|
I don't see any attachment. Maybe what you want is something like this? curve(x) = (x - 2)**2 + 3 hline(x, y) = curve(x) > y ? 1/0 : y plot curve(x), hline(x, 25), hline(x, 75), hline(x, 125) There are sometimes gaps visible at the ends of the horizontal lines, due to the sampling gnuplot makes within the xrange. You can make them almost invisible using set sample 1000 # or higher value, at your whish Le 16/03/23 à 17:23, Patrick Dupre a écrit : > Hello, > > Is there is an option to plot a similar figure to that I am attaching? > Typically, I have y values (horizontal lines) that I wish to limit the > display by a curve > > Thank > > =========================================================================== > Patrick DUPRÉ | | email: pd...@gm... > Laboratoire interdisciplinaire Carnot de Bourgogne > 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE > Tel: +33 (0)380395988 | | Room# D114A > =========================================================================== > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Patrick D. <pd...@gm...> - 2023-03-16 16:23:56
|
Hello, Is there is an option to plot a similar figure to that I am attaching? Typically, I have y values (horizontal lines) that I wish to limit the display by a curve Thank =========================================================================== Patrick DUPRÉ | | email: pd...@gm... Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 | | Room# D114A =========================================================================== |
|
From: Tatsuro M. <tma...@ya...> - 2023-03-14 14:08:47
|
gnuplot 5.4.6 windows binary packages are updated. Fontconfig configuration files and related files are added to packages. See https://sourceforge.net/p/gnuplot/bugs/2512/ Site and files : https://sourceforge.net/projects/gnuplot/files/gnuplot/5.4.6/ gp546-win64-mingw-2.7z gp546-win64-mingw-2.exe Tatsuro |
|
From: Rusty T. <rus...@gm...> - 2023-02-28 18:41:59
|
Excellent, thank you so very much. I compiled gnuplot 5.4.6 from https://sourceforge.net/projects/gnuplot/files/gnuplot/ On 2/26/23 23:39, hchiPer wrote: > Hi, > > I was not more successful than you in using y2ticlabels with gnuplot > 5.4.4, but it works with gnuplot 5.4.5 (binaries compiled by myself). > > In this case, the y2labels are the values of the last column, with all > 4 decimals, which is not the result you expect. > > To have y2tics identical to ytics you can use: > > set xdata time > set timefmt "%Y %b %d" > set link y2 > set y2tics > plot "/tmp/fn" using 1:4 with circles > > Laurent > > > > > Le 25/02/23 à 22:49, Rusty Travis a écrit : >> On 2/22/23 10:25, Rusty Travis wrote: >>> Greetings, I'm having difficulty understanding the Help for >>> y2ticlabels and would appreciate your assistance. >>> >>> The file I'm plotting is quite simple: >>> ... >>> 2023 Jan 31 12.3038 >>> 2023 Jan 31 19.0661 >>> 2023 Feb 01 9.8433 >>> 2023 Feb 01 13.5022 >>> 2023 Feb 01 13.5083 >>> 2023 Feb 01 13.5318 >>> 2023 Feb 02 10.9849 >>> 2023 Feb 02 16.0072 >>> ... >>> >>> gnuplot> set xdata time >>> gnuplot> set timefmt "%Y %b %d" >>> gnuplot> plot "/tmp/fn" using 1:4 with circles >>> >>> However, trying to plot y2ticlabels on the right of the plot the >>> same as yticlabels seems difficult for me: >>> gnuplot> plot "/tmp/fn" using 1:4:y2ticlabels(4) with circles >>> >>> ... results in the same display as above. >>> >>> How do I do a simple y2ticlabels so that the right ordinate axis is >>> displayed the same as the left axis, please? >>> >>> >>> >> >> _______________________________________________ >> gnuplot-info mailing list >> gnu...@li... >> Membership management via: >> https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: hchiPer <hc...@gm...> - 2023-02-27 07:40:07
|
Hi, I was not more successful than you in using y2ticlabels with gnuplot 5.4.4, but it works with gnuplot 5.4.5 (binaries compiled by myself). In this case, the y2labels are the values of the last column, with all 4 decimals, which is not the result you expect. To have y2tics identical to ytics you can use: set xdata time set timefmt "%Y %b %d" set link y2 set y2tics plot "/tmp/fn" using 1:4 with circles Laurent Le 25/02/23 à 22:49, Rusty Travis a écrit : > On 2/22/23 10:25, Rusty Travis wrote: >> Greetings, I'm having difficulty understanding the Help for >> y2ticlabels and would appreciate your assistance. >> >> The file I'm plotting is quite simple: >> ... >> 2023 Jan 31 12.3038 >> 2023 Jan 31 19.0661 >> 2023 Feb 01 9.8433 >> 2023 Feb 01 13.5022 >> 2023 Feb 01 13.5083 >> 2023 Feb 01 13.5318 >> 2023 Feb 02 10.9849 >> 2023 Feb 02 16.0072 >> ... >> >> gnuplot> set xdata time >> gnuplot> set timefmt "%Y %b %d" >> gnuplot> plot "/tmp/fn" using 1:4 with circles >> >> However, trying to plot y2ticlabels on the right of the plot the same >> as yticlabels seems difficult for me: >> gnuplot> plot "/tmp/fn" using 1:4:y2ticlabels(4) with circles >> >> ... results in the same display as above. >> >> How do I do a simple y2ticlabels so that the right ordinate axis is >> displayed the same as the left axis, please? >> >> >> > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: > https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Rusty T. <rus...@gm...> - 2023-02-25 21:49:25
|
On 2/22/23 10:25, Rusty Travis wrote: > Greetings, I'm having difficulty understanding the Help for > y2ticlabels and would appreciate your assistance. > > The file I'm plotting is quite simple: > ... > 2023 Jan 31 12.3038 > 2023 Jan 31 19.0661 > 2023 Feb 01 9.8433 > 2023 Feb 01 13.5022 > 2023 Feb 01 13.5083 > 2023 Feb 01 13.5318 > 2023 Feb 02 10.9849 > 2023 Feb 02 16.0072 > ... > > gnuplot> set xdata time > gnuplot> set timefmt "%Y %b %d" > gnuplot> plot "/tmp/fn" using 1:4 with circles > > However, trying to plot y2ticlabels on the right of the plot the same > as yticlabels seems difficult for me: > gnuplot> plot "/tmp/fn" using 1:4:y2ticlabels(4) with circles > > ... results in the same display as above. > > How do I do a simple y2ticlabels so that the right ordinate axis is > displayed the same as the left axis, please? > > > |