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
(18) |
May
(2) |
Jun
(2) |
Jul
(2) |
Aug
(3) |
Sep
(6) |
Oct
(3) |
Nov
(2) |
Dec
|
|
From: Ethan A M. <EAM...@gm...> - 2018-08-22 16:37:31
|
On Wednesday, 22 August 2018 09:49:01 Patrick Dupre wrote: > Sorry, for the replot, I do not need the replot. > > I want to do for example: > > set table "out.asc" > plot [44500:45600] (ampl*d_Lor_D (x-x0, W)+offset) > without getting the third column with "i" plot '+' using 1:(ampl*d_Lor_D (x-x0, W)+offset) with table > > or > plot $DATA u (x=$1):(ampl*d_Lor_D (x-x0, W)+offset) > for x taken from x_min to x_max with "samples" values > > in other words. > I want in a file what I can plot with > replot ampl*d_Lor_D (x-x0, W)+offset ^^^^^^^ I still do not understand why you are using replot. Ethan > after a fit. > > Thank. > > =========================================================================== > Patrick DUPRÉ | | email: pd...@gm... > Laboratoire de Physico-Chimie de l'Atmosphère | | > Université du Littoral-Côte d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > =========================================================================== |
|
From: Patrick D. <pd...@gm...> - 2018-08-22 07:49:11
|
Sorry, for the replot, I do not need the replot. I want to do for example: set table "out.asc" plot [44500:45600] (ampl*d_Lor_D (x-x0, W)+offset) without getting the third column with "i" or plot $DATA u (x=$1):(ampl*d_Lor_D (x-x0, W)+offset) for x taken from x_min to x_max with "samples" values in other words. I want in a file what I can plot with replot ampl*d_Lor_D (x-x0, W)+offset after a fit. Thank. =========================================================================== Patrick DUPRÉ | | email: pd...@gm... Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France =========================================================================== > Sent: Wednesday, August 22, 2018 at 5:56 AM > From: "Ethan A Merritt" <EAM...@gm...> > To: "Patrick Dupre" <pd...@gm...> > Cc: gnuplot <gnu...@li...> > Subject: Re: [Gnuplot-info] plot with table > > On Wednesday, 22 August 2018 00:56:20 Patrick Dupre wrote: > > > > =========================================================================== > > Patrick DUPRÉ | | email: pd...@gm... > > Laboratoire de Physico-Chimie de l'Atmosphère | | > > Université du Littoral-Côte d'Opale | | > > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > > =========================================================================== > > > > > > Sent: Wednesday, August 22, 2018 at 12:46 AM > > From: "Ethan Merritt" <eam...@gm...> > > To: "Patrick Dupre" <pd...@gm...> > > Cc: gnuplot <gnu...@li...> > > Subject: Re: [Gnuplot-info] plot with table > > On Tue, Aug 21, 2018 at 3:33 PM, Patrick Dupre <pd...@gm...> wrote: > > Hello, > > > > Something is escaping to me. > > I tried: > > > > set table "out.asc" > > plot $DATA u (x=$1):(ampl*d_Lor_D (x-x0, W)+offset) with table > > unset table > > > > > > But the number of samples is ignored > > > > That is because there is no sampling. You have asked it to print > > one line of output for each line in $DATA. The first value on that line is > > echoed from $DATA, the second value is a function of the first. > > > > while > > plot $DATA u 1:2 > > replot ampl*d_Lor_D (x-x0, W)+offset > > has the right number of sample > > > > Here you generate two plots. > > The first one has one line for each line in $DATA. > > The second one samples a function, where the number of samples > > is controlled by "set sample". > > There is no intrinsic relationship between the x values in the first plot > > and those in the second. > > > > How can I fix the issue > > > > > > It is not clear what you are aiming for. > > Are you trying to fit and re-sample the values held in $DATA? > > That would require a rather different set of commands, either > > based on "fit" or "smooth". > > > > Ethan > > > > > > Actually, I fit $DATA, and I plot the fit with replot ampl*d_Lor_D (x-x0, W)+offset > > while I would like also to get the same data in a file > > Sorry, I still do not understand what you are trying to do. > Why are you using "replot" rather than "plot"? > What content, exactly, do you want to have in the output file? > > Ethan > > > > > |
|
From: Ethan A M. <EAM...@gm...> - 2018-08-22 04:13:50
|
On Wednesday, 22 August 2018 00:56:20 Patrick Dupre wrote: > > =========================================================================== > Patrick DUPRÉ | | email: pd...@gm... > Laboratoire de Physico-Chimie de l'Atmosphère | | > Université du Littoral-Côte d'Opale | | > Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 > 189A, avenue Maurice Schumann | | 59140 Dunkerque, France > =========================================================================== > > > Sent: Wednesday, August 22, 2018 at 12:46 AM > From: "Ethan Merritt" <eam...@gm...> > To: "Patrick Dupre" <pd...@gm...> > Cc: gnuplot <gnu...@li...> > Subject: Re: [Gnuplot-info] plot with table > On Tue, Aug 21, 2018 at 3:33 PM, Patrick Dupre <pd...@gm...> wrote: > Hello, > > Something is escaping to me. > I tried: > > set table "out.asc" > plot $DATA u (x=$1):(ampl*d_Lor_D (x-x0, W)+offset) with table > unset table > > > But the number of samples is ignored > > That is because there is no sampling. You have asked it to print > one line of output for each line in $DATA. The first value on that line is > echoed from $DATA, the second value is a function of the first. > > while > plot $DATA u 1:2 > replot ampl*d_Lor_D (x-x0, W)+offset > has the right number of sample > > Here you generate two plots. > The first one has one line for each line in $DATA. > The second one samples a function, where the number of samples > is controlled by "set sample". > There is no intrinsic relationship between the x values in the first plot > and those in the second. > > How can I fix the issue > > > It is not clear what you are aiming for. > Are you trying to fit and re-sample the values held in $DATA? > That would require a rather different set of commands, either > based on "fit" or "smooth". > > Ethan > > > Actually, I fit $DATA, and I plot the fit with replot ampl*d_Lor_D (x-x0, W)+offset > while I would like also to get the same data in a file Sorry, I still do not understand what you are trying to do. Why are you using "replot" rather than "plot"? What content, exactly, do you want to have in the output file? Ethan |
|
From: Ethan M. <eam...@gm...> - 2018-08-21 22:46:55
|
On Tue, Aug 21, 2018 at 3:33 PM, Patrick Dupre <pd...@gm...> wrote:
> Hello,
>
> Something is escaping to me.
> I tried:
>
> set table "out.asc"
> plot $DATA u (x=$1):(ampl*d_Lor_D (x-x0, W)+offset) with table
> unset table
>
>
> But the number of samples is ignored
That is because there is no sampling. You have asked it to print
one line of output for each line in $DATA. The first value on that line is
echoed from $DATA, the second value is a function of the first.
while
> plot $DATA u 1:2
> replot ampl*d_Lor_D (x-x0, W)+offset
> has the right number of sample
>
Here you generate two plots.
The first one has one line for each line in $DATA.
The second one samples a function, where the number of samples
is controlled by "set sample".
There is no intrinsic relationship between the x values in the first plot
and those in the second.
How can I fix the issue
>
It is not clear what you are aiming for.
Are you trying to fit and re-sample the values held in $DATA?
That would require a rather different set of commands, either
based on "fit" or "smooth".
Ethan
> Thank
>
> ============================================================
> ===============
> Patrick DUPRÉ | | email: pd...@gm...
> Laboratoire de Physico-Chimie de l'Atmosphère | |
> Université du Littoral-Côte d'Opale | |
> Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
> 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
> ============================================================
> ===============
>
|
|
From: Patrick D. <pd...@gm...> - 2018-08-21 22:33:47
|
Hello, Something is escaping to me. I tried: set table "out.asc" plot $DATA u (x=$1):(ampl*d_Lor_D (x-x0, W)+offset) with table unset table But the number of samples is ignored while plot $DATA u 1:2 replot ampl*d_Lor_D (x-x0, W)+offset has the right number of sample How can I fix the issue ? Thank =========================================================================== Patrick DUPRÉ | | email: pd...@gm... Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France =========================================================================== |
|
From: theozh <th...@gm...> - 2018-08-16 17:44:26
|
Since my program which generates the gnuplot code is written in Python, I finally can also use Python to get a screenshot of the gnuplot wxt terminal. It assumes that the window frame around the plot stays always the same, in my case (l,t,r,b)margins = (8,63,8,31) pixels. Unfortunately, one flaw is that I had to insert a waiting time because the gnuplot window is not coming to front immediately. Maybe somebody has a solution for this? See: https://stackoverflow.com/questions/51879113 With this as a base, I can implement something where I can give a dimension in mm or cm and get the screenshot on the clipboard scaled accordingly when copied into the final application (Word, PPT, LibreOffice, etc.). Maybe this is also useful to somebody else... |
|
From: Ethan A M. <eam...@gm...> - 2018-08-15 17:06:32
|
On Wednesday, 15 August 2018 18:34:36 Jelle de Jong wrote:
> On 15/08/18 17:19, Kevin Oberman wrote:
> > On Wed, Aug 15, 2018 at 7:51 AM Jelle de Jong <jel...@po...
> > <mailto:jel...@po...>> wrote:
> >
> > Hello everybody,
> >
> > upgrade from gnuplot 4.0 patchlevel 0 to -> gnuplot 4.6 patchlevel 2
> >
> > I attached two picture of graphs that generated different line colours.
> >
> > I can not find any colour definitions in the gnuplot input files.
> >
> > I am trying to figure out what to look for in the gnuplot input files so
> > I can change the colours back. Can somebody help?
> >
> > For what I can see there are lt (linetype) 1 to 5 used.
> >
> > Can I output the linetype colour mapping/pallet somehow?
> >
> > This change was documented in the v5 release notes.
> >
> > If you want the old colors back, you may explicitly specify them or use
> > the command "set colors classic".
>
> Thank you for taking the time to reply, very much appreciated!
>
> I am running gnuplot 4.6 patchlevel 2
>
> There does not seem to be a set colors classic command, is there
> something else I can do to get the classic colors back?
Your attachments to the original query did not make it through to
anywhere I could see them, so I do not know what colors you are talking about.
The new color scheme was not made a default until version 5, so whatever
you are seeing in version 4.6 must be something else.
Version 4.6 does however support the mechanism for setting linecolors
that was eventually used in version 5 to change the default.
It is possible that your initialization file is using this mechanism
to change colors on entry. If that is what is happening you can either
edit the initialization file or bypass it using the "-d" flag.
gnuplot -d
Otherwise, more information needed.
Is this affecting all terminal types or only a particular terminal?
Is there some reason you would upgrade from version 4.0 only as far
as 4.6 rather than 5.2 (current)?
Ethan
>
> Kind regards,
>
> Jelle de Jong
--
|
|
From: Jelle de J. <jel...@po...> - 2018-08-15 16:34:51
|
On 15/08/18 17:19, Kevin Oberman wrote: > On Wed, Aug 15, 2018 at 7:51 AM Jelle de Jong <jel...@po... > <mailto:jel...@po...>> wrote: > > Hello everybody, > > upgrade from gnuplot 4.0 patchlevel 0 to -> gnuplot 4.6 patchlevel 2 > > I attached two picture of graphs that generated different line colours. > > I can not find any colour definitions in the gnuplot input files. > > I am trying to figure out what to look for in the gnuplot input files so > I can change the colours back. Can somebody help? > > For what I can see there are lt (linetype) 1 to 5 used. > > Can I output the linetype colour mapping/pallet somehow? > > This change was documented in the v5 release notes. > > If you want the old colors back, you may explicitly specify them or use > the command "set colors classic". Thank you for taking the time to reply, very much appreciated! I am running gnuplot 4.6 patchlevel 2 There does not seem to be a set colors classic command, is there something else I can do to get the classic colors back? Kind regards, Jelle de Jong |
|
From: Kevin O. <rko...@gm...> - 2018-08-15 15:20:05
|
On Wed, Aug 15, 2018 at 7:51 AM Jelle de Jong <jel...@po...> wrote: > Hello everybody, > > upgrade from gnuplot 4.0 patchlevel 0 to -> gnuplot 4.6 patchlevel 2 > > I attached two picture of graphs that generated different line colours. > > I can not find any colour definitions in the gnuplot input files. > > I am trying to figure out what to look for in the gnuplot input files so > I can change the colours back. Can somebody help? > > For what I can see there are lt (linetype) 1 to 5 used. > > Can I output the linetype colour mapping/pallet somehow? > > Kind regards, > > Jelle de Jo > ng > This change was documented in the v5 release notes. If you want the old colors back, you may explicitly specify them or use the command "set colors classic". -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rko...@gm... PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 |
|
From: Jelle de J. <jel...@po...> - 2018-08-15 14:50:40
|
Hello everybody, upgrade from gnuplot 4.0 patchlevel 0 to -> gnuplot 4.6 patchlevel 2 I attached two picture of graphs that generated different line colours. I can not find any colour definitions in the gnuplot input files. I am trying to figure out what to look for in the gnuplot input files so I can change the colours back. Can somebody help? For what I can see there are lt (linetype) 1 to 5 used. Can I output the linetype colour mapping/pallet somehow? Kind regards, Jelle de Jong |
|
From: theozh <th...@gm...> - 2018-08-15 03:46:10
|
Thank you for the link, I also came across this page. Well, this is for MSOffice 2016. In MSOffice <=2013 I haven't found such a setting. In MSOffice2013 there is a similar DPI setting but for *exporting* pictures not for *importing* pictures. Too bad... |
|
From: Ethan M. <eam...@gm...> - 2018-08-14 21:43:24
|
On Tue, Aug 14, 2018 at 2:19 PM, theozh <th...@gm...> wrote: > ok, I try again. > I create many graphs with gnuplot. I copy these graphs e.g. to Powerpoint > or Word, etc. > In these programs the images will appear "too large", i.e. I need them > half size. > Of course, I can scale them down manually in PPT or Word, over and over > again and again. > The idea was to copy a graph directly from gnuplot which will appear with > the proper size in PPT, Word, etc. > I am not a frequent Word user, but I think there is a preferences setting where you can change the default import resolution. For instance: https://support.office.com/en-ie/article/change-the-default-resolution-for-inserting-pictures-in-office-2016-f4aca5b4-6332-48c6-9488-bf5e0094a7d2 > Simply reducing the pixel count in gnuplot is not an option because you > will lose details and it will look pixelated. > I also can copy&paste the clipboard into an image viewer (e.g. GIMP, > IrfanView, etc.) and manually set the DPIs to 192 over and over again. Copy > the image again and paste it into PPT, Word, etc. With this, the size will > be the desired size. > However, I wanted to a) avoid loosing details and pixelated images, b) > avoid scaling in PPT, Word,... and c) avoid using a third program. > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/ > lists/listinfo/gnuplot-info > |
|
From: theozh <th...@gm...> - 2018-08-14 21:19:32
|
ok, I try again. I create many graphs with gnuplot. I copy these graphs e.g. to Powerpoint or Word, etc. In these programs the images will appear "too large", i.e. I need them half size. Of course, I can scale them down manually in PPT or Word, over and over again and again. The idea was to copy a graph directly from gnuplot which will appear with the proper size in PPT, Word, etc. Simply reducing the pixel count in gnuplot is not an option because you will lose details and it will look pixelated. I also can copy&paste the clipboard into an image viewer (e.g. GIMP, IrfanView, etc.) and manually set the DPIs to 192 over and over again. Copy the image again and paste it into PPT, Word, etc. With this, the size will be the desired size. However, I wanted to a) avoid loosing details and pixelated images, b) avoid scaling in PPT, Word,... and c) avoid using a third program. |
|
From: Ethan M. <eam...@gm...> - 2018-08-14 20:46:52
|
On Tue, Aug 14, 2018 at 1:45 PM, Ethan Merritt <eam...@gm...> wrote: > On Tue, Aug 14, 2018 at 1:15 PM, theozh <th...@gm...> wrote: > >> ... wouldn't there be any possibility with gnuplot to "save" to the >> clipboard? >> Kind of a "clipboard" terminal allowing for the setting of dpi (PNG,BMP) >> or cm (PDF, EMF, SVG)? >> >> I don't understand the question. Isn't that exactly what it does now? > It is for the wxt and qt terminals anyway. There is one widget that saves > to the clipboard > and another widget that saves to a filetype of your choice. > > Can you back up one step and explain why you can about the dpi field? > ^^^^^ care > In my experience most if not all programs that read a bitmap file ignore > this field. > For instance if you import a bitmap file into Word or LaTeX or PowerPoint > or > whatever you can scale it up or down to fit the desired size without > regard to > whatever the original dpi was. > What program are you dealing with where this is an issue? > > |
|
From: Ethan M. <eam...@gm...> - 2018-08-14 20:45:53
|
On Tue, Aug 14, 2018 at 1:15 PM, theozh <th...@gm...> wrote: > ... wouldn't there be any possibility with gnuplot to "save" to the > clipboard? > Kind of a "clipboard" terminal allowing for the setting of dpi (PNG,BMP) > or cm (PDF, EMF, SVG)? > > I don't understand the question. Isn't that exactly what it does now? It is for the wxt and qt terminals anyway. There is one widget that saves to the clipboard and another widget that saves to a filetype of your choice. Can you back up one step and explain why you can about the dpi field? In my experience most if not all programs that read a bitmap file ignore this field. For instance if you import a bitmap file into Word or LaTeX or PowerPoint or whatever you can scale it up or down to fit the desired size without regard to whatever the original dpi was. What program are you dealing with where this is an issue? |
|
From: theozh <th...@gm...> - 2018-08-14 20:15:57
|
... wouldn't there be any possibility with gnuplot to "save" to the clipboard? Kind of a "clipboard" terminal allowing for the setting of dpi (PNG,BMP) or cm (PDF, EMF, SVG)? |
|
From: theozh <th...@gm...> - 2018-08-14 18:39:23
|
Ok, it's just a screenshot. I thought/hoped that this was some data from gnuplot which gnuplot still can somehow influence. Well, then Windows operating system or the application apparently assumes that the clipboard contains an image with 96 dpi. Hmm, then probably there's not much which I can do? At least, I haven't found yet any settings in Windows or the application which can change this dpi value. |
|
From: Ethan A M. <eam...@gm...> - 2018-08-14 16:45:55
|
On Tuesday, 14 August 2018 18:29:35 theozh wrote: > The interactive wxt terminal offers the nice feature to copy the graph to the clipboard. > When pasting this graph as bitmap into other applications the size will depend on the resolution (dpi or ppi). > > Example: > A plot with 567 x 567 pixels will be 15x15cm when copied to other applications. > Apparently, gnuplot sets the resolution to 96 dpi. So far as I know gnuplot plays no part in this. This is basically a screen shot, right? Pressing the clipboard widget in gnuplot just triggers a screenshot of the current window. The dpi probably comes from the resolution of your screen, or at any rate what the computer thinks is the resolution of your screen. If it is possible to change this at all, it would be via some setting in the clipboard manager program. Ethan > However, this 15x15cm is to large and I have to manually scale it down in the application to e.g. 7.5x7.5cm > > If it was possible to set the resolution to 192 dpi in gnuplot, this annoying scaling step for every graph would be obsolete. Changing the resolution with an additional program is also no practical solution. > Creating a graph within gnuplot with half the size (283x283) is also no solution since many details will be missing. Copying to EMF might be an alternative, but I don't want to go via an additional file on disk. > > Any ideas, alternatives? > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info -- |
|
From: theozh <th...@gm...> - 2018-08-14 16:29:53
|
The interactive wxt terminal offers the nice feature to copy the graph to the clipboard. When pasting this graph as bitmap into other applications the size will depend on the resolution (dpi or ppi). Example: A plot with 567 x 567 pixels will be 15x15cm when copied to other applications. Apparently, gnuplot sets the resolution to 96 dpi. However, this 15x15cm is to large and I have to manually scale it down in the application to e.g. 7.5x7.5cm If it was possible to set the resolution to 192 dpi in gnuplot, this annoying scaling step for every graph would be obsolete. Changing the resolution with an additional program is also no practical solution. Creating a graph within gnuplot with half the size (283x283) is also no solution since many details will be missing. Copying to EMF might be an alternative, but I don't want to go via an additional file on disk. Any ideas, alternatives? |
|
From: theozh <th...@gm...> - 2018-08-13 19:45:46
|
Thanks again. Well, the multiplot "trick" is probably not the nicest but simplest workaround. It looks like that the several identical plots on top of each other create, e.g. thicker axis labels and data lines. At least that's what I believe to see in the wxt terminal. Unfortunately, interactive scaling in the wxt terminal will only work on the last (multi)plot and the other labels are gone. ### different label backgrounds in "one" plot reset set multiplot layout 1,1 unset label set style textbox opaque fc rgb "red" set label 1 "red textbox" right at graph 0.5,0.8 boxed plot sin(x) unset label set style textbox opaque fc rgb "green" set label 2 "green textbox" right at graph 0.5,0.7 boxed replot unset label set style textbox opaque fc rgb "blue" set label 3 "blue textbox" right at graph 0.5,0.6 boxed replot unset multiplot ### end code |
|
From: Ethan M. <eam...@gm...> - 2018-08-13 18:52:12
|
On Mon, Aug 13, 2018 at 11:43 AM, theozh <th...@gm...> wrote:
> Thank you, Ethan, for the explanations. OK, I see.
> Yes, "boxstyle N" would be the feature I am looking for.
> I am mainly working with wxt, pngcairo and pdfcairo (sometimes actually
> svg).
> How would you implement different text boxes backgrounds in these
> terminals?
>
I do not know of a good way to do it. That's why I started working on the
textbox
property instead. But that didn't turn out to be easy either.
t looks like I cannot mix/add/subtract graph coordinates and char
> dimensions. How to find this offset automatically? How to deal with
> multi-line text?
>
Those are the problems, yes.
Any suggestions are welcome.
>
About the only thing I can think of using the existing unsatisfactory
options is to
use multiplot, changing the background color of the textbox style in between
plot commands within the multiplot.
Ethan
|
|
From: theozh <th...@gm...> - 2018-08-13 18:43:31
|
Thank you, Ethan, for the explanations. OK, I see. Yes, "boxstyle N" would be the feature I am looking for. I am mainly working with wxt, pngcairo and pdfcairo (sometimes actually svg). How would you implement different text boxes backgrounds in these terminals? Find below find a cumbersome attempt of a workaround using colored rectangles. I was hoping that "set object rectangle at..." starts from given position with the lower left corner whereas "set object rectangle center..." has the center of the rectangle at the given position. However, gnuplot help tells me that "set object rectangle at..." and "set object rectangle center..." are identical. With this I could realize some centered boxed text, but I don't know how to "box" left or right aligned text. As a consequence, I have to set an offset for the x position depending on the text length. Furthermore, it looks like I cannot mix/add/subtract graph coordinates and char dimensions. How to find this offset automatically? How to deal with multi-line text? Any suggestions are welcome. ### workaround for different textbox backgrounds in one plot reset unset label unset object Label_1_text = "This is a red text box" Label_2_text = "This is a green text box" Label_3_text = "This is a blue text box" Label_1_color = "red" Label_2_color = "green" Label_3_color = "blue" Label_1_x = 0.1 Label_1_y = 0.8 Label_2_x = 0.1 Label_2_y = 0.7 Label_3_x = 0.1 Label_3_y = 0.6 Offset_1_x = 0.10 # How to find this value automatically depending on text length??? Offset_1_y = 0.0 Offset_2_x = 0.11 # How to find this value automatically depending on text length??? Offset_2_y = 0.0 Offset_3_x = 0.10 # How to find this value automatically depending on text length??? Offset_3_y = 0.0 set object 1 rect at graph Label_1_x+Offset_1_x,Label_1_y+Offset_1_y size char strlen(Label_1_text), char 1 fs solid 1.0 fc rgb Label_1_color front set label 1 Label_1_text at graph Label_1_x,Label_1_y left front set object 2 rect at graph Label_2_x+Offset_2_x,Label_2_y+Offset_2_y size char strlen(Label_2_text), char 1 fs solid 1.0 fc rgb Label_2_color front set label 2 Label_2_text at graph Label_2_x,Label_2_y left front set object 3 rect at graph Label_3_x+Offset_3_x,Label_3_y+Offset_3_y size char strlen(Label_3_text), char 1 fs solid 1.0 fc rgb Label_3_color front set label 3 Label_3_text at graph Label_3_x,Label_3_y left front plot sin(x) ### end code |
|
From: Ethan A M. <eam...@gm...> - 2018-08-13 15:47:23
|
On Monday, 13 August 2018 16:22:20 theozh wrote: > How can I put several labels with different label background colors or box frames? > I'm using gnuplot 5.2rc4 > > After painful placing colored rectangle objects behind label text, I found the "set style textbox" option. However, I haven't found how to place different styles within one plot. Development on the textbox style options kind of stalled because it is very hard to produce equivalent behaviour across all the various terminal types. That is why it is documented as an "experimental" option. textbox properties that either exist only conceptually or for only a few terminals: - control over the margin sizes - rotated box around rotated text - fill color - multiple textbox styles, to support "set label ... boxed [boxstyle N]" You are asking about that last item, but it does not exist yet. As I say, the main roadblock is that even the existing options have not been implemented on terminals gd lua pslatex x11 canvas svg It is particularly annoying that so far as I can tell there is nothing in the svg standard that would allow drawing boxed text. So we may never be able to support svg output of boxed labels, except maybe indirectly via conversion from the qt or cairo terminals to a dumped svg file. Ethan > The below example should create a red and green box but creates two green boxes. Apparently, the last style is applied to all textboxes. > Can several textbox styles 1,2,3,... be defined? Like linetype, linecolor, etc.? > > ### different label background styles within one plot??? > reset > unset label > unset object > > set label 1 "This is some text" at graph 0.1, 0.7 > > set style textbox opaque border lc rgb "black" lw 1 fc rgb "red" > set label 2 "Some text with red background" at graph 0.1, 0.6 boxed front > > set style textbox opaque noborder lw 1 fc rgb "green" > set label 3 "Some text with green background" at graph 0.1, 0.5 boxed front > > plot 10*sin(x), 10*cos(x) > ### end code |
|
From: theozh <th...@gm...> - 2018-08-13 14:22:41
|
How can I put several labels with different label background colors or box frames? I'm using gnuplot 5.2rc4 After painful placing colored rectangle objects behind label text, I found the "set style textbox" option. However, I haven't found how to place different styles within one plot. The below example should create a red and green box but creates two green boxes. Apparently, the last style is applied to all textboxes. Can several textbox styles 1,2,3,... be defined? Like linetype, linecolor, etc.? ### different label background styles within one plot??? reset unset label unset object set label 1 "This is some text" at graph 0.1, 0.7 set style textbox opaque border lc rgb "black" lw 1 fc rgb "red" set label 2 "Some text with red background" at graph 0.1, 0.6 boxed front set style textbox opaque noborder lw 1 fc rgb "green" set label 3 "Some text with green background" at graph 0.1, 0.5 boxed front plot 10*sin(x), 10*cos(x) ### end code |
|
From: Patrick D. <pd...@gm...> - 2018-08-05 21:27:35
|
Hello, Sometimes it would be helpful to restart a gnuplot session which has been previously interrupted. Is it possible? Thank. =========================================================================== Patrick DUPRÉ | | email: pd...@gm... Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France =========================================================================== |