|
From: Jaime V. <vi...@fe...> - 2022-02-13 15:07:29
|
Hello, I hope this is the right place to ask this. In Maxima we use Gnuplot to plot functions. Maxima users issue plot2d or plot3d commands that will pipe a series of commands and data to Gnuplot. I'd like to change the name of the plot window from "Gnuplot window 0" to something such as "plot2d". I could change it with something such as: set term qt title "plot2d", but the problem is that I don't know which terminal is the user using. It could be wxt or something else. Is there any way to change the title without knowing the terminal being used? Or is there a way to discover the user's default terminal? Best regards, Jaime Villate |
|
From: Tatsuro M. <tma...@ya...> - 2022-02-13 16:28:18
|
show terminal is your help? Tatsuro > ----- Original Message ----- > > From: "Jaime Villate via gnuplot-info" <gnu...@li...> > To: "gnu...@li..." <gnu...@li...> > Date: 2022/02/14 月 00:08 > Subject: [Gnuplot-info] How to change the title of the default terminal's plot window > > > Hello, > > I hope this is the right place to ask this. > > In Maxima we use Gnuplot to plot functions. Maxima users issue plot2d or > plot3d commands that will pipe a series of commands and data to Gnuplot. > I'd like to change the name of the plot window from "Gnuplot window 0" > to something such as "plot2d". > > I could change it with something such as: set term qt title "plot2d", > but the problem is that I don't know which terminal is the user using. > It could be wxt or something else. > > Is there any way to change the title without knowing the terminal being > used? Or is there a way to discover the user's default terminal? > > Best regards, > > Jaime Villate > > > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: Stephen W. <ste...@in...> - 2022-02-13 17:53:25
|
Thanks but the question was How to change the title of the default terminal's plot window. Stephen ----- Original Message ----- > From: "Tatsuro MATSUOKA" <tma...@ya...> > To: "Jaime Villate" <vi...@fe...>, gnu...@li... > Sent: Sunday, February 13, 2022 5:28:06 PM > Subject: Re: [Gnuplot-info] How to change the title of the default terminal's plot window > show terminal > > is your help? > > Tatsuro > >> ----- Original Message ----- >> >> From: "Jaime Villate via gnuplot-info" <gnu...@li...> >> To: "gnu...@li..." <gnu...@li...> >> Date: 2022/02/14 月 00:08 >> Subject: [Gnuplot-info] How to change the title of the default terminal's plot >> window >> >> >> Hello, >> >> I hope this is the right place to ask this. >> >> In Maxima we use Gnuplot to plot functions. Maxima users issue plot2d or >> plot3d commands that will pipe a series of commands and data to Gnuplot. >> I'd like to change the name of the plot window from "Gnuplot window 0" >> to something such as "plot2d". >> >> I could change it with something such as: set term qt title "plot2d", >> but the problem is that I don't know which terminal is the user using. >> It could be wxt or something else. >> >> Is there any way to change the title without knowing the terminal being >> used? Or is there a way to discover the user's default terminal? >> >> Best regards, >> >> Jaime Villate >> >> >> >> >> _______________________________________________ >> 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: t.sefzick <t.s...@gm...> - 2022-02-13 18:20:47
|
The internal variable GNUTERM should contain the actual terminal type. Set a new title set term @GNUTERM title "plot2d" and the next plot command will change the window title. Thomas On Sun, Feb 13, 2022 at 06:37:44PM +0100, Stephen Wornom wrote: > Thanks but the question was How to change the title of the default terminal's plot window. > Stephen > > ----- Original Message ----- > > From: "Tatsuro MATSUOKA" <tma...@ya...> > > To: "Jaime Villate" <vi...@fe...>, gnu...@li... > > Sent: Sunday, February 13, 2022 5:28:06 PM > > Subject: Re: [Gnuplot-info] How to change the title of the default terminal's plot window > > > show terminal > > > > is your help? > > > > Tatsuro > > > >> ----- Original Message ----- > >> > >> From: "Jaime Villate via gnuplot-info" <gnu...@li...> > >> To: "gnu...@li..." <gnu...@li...> > >> Date: 2022/02/14 ??? 00:08 > >> Subject: [Gnuplot-info] How to change the title of the default terminal's plot > >> window > >> > >> > >> Hello, > >> > >> I hope this is the right place to ask this. > >> > >> In Maxima we use Gnuplot to plot functions. Maxima users issue plot2d or > >> plot3d commands that will pipe a series of commands and data to Gnuplot. > >> I'd like to change the name of the plot window from "Gnuplot window 0" > >> to something such as "plot2d". > >> > >> I could change it with something such as: set term qt title "plot2d", > >> but the problem is that I don't know which terminal is the user using. > >> It could be wxt or something else. > >> > >> Is there any way to change the title without knowing the terminal being > >> used? Or is there a way to discover the user's default terminal? > >> > >> Best regards, > >> > >> Jaime Villate > >> > >> > >> > >> > >> _______________________________________________ > >> 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 > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info |
|
From: Jaime V. <vi...@fe...> - 2022-02-13 19:58:08
|
Thank you. That's what I was looking for. Jaime On 13/02/22 18:20, t.sefzick wrote: > The internal variable GNUTERM should contain the actual > terminal type. > > Set a new title > > set term @GNUTERM title "plot2d" > > and the next plot command will change the window title. |
|
From: Tatsuro M. <tma...@ya...> - 2022-02-14 08:51:14
|
However, If default terminal is set in ~./.gnuplot or %APPDATA%gnuplot.ini, that is not reflected in tha value of GNUTERM. How do you think? Tatsuro > ----- Original Message ----- > > From: "Jaime Villate via gnuplot-info" <gnu...@li...> > To: "t.s...@gm..." <t.s...@gm...>; "Stephen Wornom" <ste...@in...> > Cc: "gnu...@li..." <gnu...@li...> > Date: 2022/02/14 月 04:59 > Subject: Re: [Gnuplot-info] How to change the title of the default terminal's plot window > > > Thank you. That's what I was looking for. > > Jaime > > On 13/02/22 18:20, t.sefzick wrote: > > The internal variable GNUTERM should contain the actual > > terminal type. > > > > Set a new title > > > > set term @GNUTERM title "plot2d" > > > > and the next plot command will change the window title. > > > > > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |
|
From: t.sefzick <t.s...@gm...> - 2022-02-14 10:31:20
|
Maybe GPVAL_TERM would be the appropriate variable? Thomas On Mon, Feb 14, 2022 at 05:51:00PM +0900, Tatsuro MATSUOKA wrote: > However, > If default terminal is set in ~./.gnuplot or %APPDATA%gnuplot.ini, that is not reflected in tha value of GNUTERM. > > How do you think? > > Tatsuro > > > ----- Original Message ----- > > > > From: "Jaime Villate via gnuplot-info" <gnu...@li...> > > To: "t.s...@gm..." <t.s...@gm...>; "Stephen Wornom" <ste...@in...> > > Cc: "gnu...@li..." <gnu...@li...> > > Date: 2022/02/14 ??? 04:59 > > Subject: Re: [Gnuplot-info] How to change the title of the default terminal's plot window > > > > > > Thank you. That's what I was looking for. > > > > Jaime > > > > On 13/02/22 18:20, t.sefzick wrote: > > > The internal variable GNUTERM should contain the actual > > > terminal type. > > > > > > Set a new title > > > > > > set term @GNUTERM title "plot2d" > > > > > > and the next plot command will change the window title. > > > > > > > > > > _______________________________________________ > > gnuplot-info mailing list > > gnu...@li... > > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > |
|
From: Tatsuro M. <tma...@ya...> - 2022-02-14 10:41:56
|
> Maybe GPVAL_TERM would be the appropriate variable? OK set terminal GPVAL_TERM title "plot 2d" This seem to nicer than to use #@GNUTERM" Tatsuro > ----- Original Message ----- > > From: "t.sefzick" <t.s...@gm...> > To: "Tatsuro MATSUOKA" <tma...@ya...> > Cc: "Jaime Villate" <vi...@fe...>; "t.s...@gm..." <t.s...@gm...>; "Stephen Wornom" <ste...@in...>; "gnu...@li..." <gnu...@li...> > Date: 2022/02/14 月 19:31 > Subject: Re: Re: [Gnuplot-info] How to change the title of the default terminal's plot window > > > Maybe GPVAL_TERM would be the appropriate variable? > > Thomas > > On Mon, Feb 14, 2022 at 05:51:00PM +0900, Tatsuro MATSUOKA wrote: > > However, > > If default terminal is set in ~./.gnuplot or %APPDATA%gnuplot.ini, that is not reflected in tha value of GNUTERM. > > > > How do you think? > > > > Tatsuro > > > > > ----- Original Message ----- > > > > > > From: "Jaime Villate via gnuplot-info" <gnu...@li...> > > > To: "t.s...@gm..." <t.s...@gm...>; "Stephen Wornom" <ste...@in...> > > > Cc: "gnu...@li..." <gnu...@li...> > > > Date: 2022/02/14 ??? 04:59 > > > Subject: Re: [Gnuplot-info] How to change the title of the default terminal's plot window > > > > > > > > > Thank you. That's what I was looking for. > > > > > > Jaime > > > > > > On 13/02/22 18:20, t.sefzick wrote: > > > > The internal variable GNUTERM should contain the actual > > > > terminal type. > > > > > > > > Set a new title > > > > > > > > set term @GNUTERM title "plot2d" > > > > > > > > and the next plot command will change the window title. > > > > > > > > > > > > > > > _______________________________________________ > > > gnuplot-info mailing list > > > gnu...@li... > > > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > > |
|
From: Jaime V. <vi...@fe...> - 2022-02-14 11:27:52
|
Thanks for your help. Jaime On 14/02/22 10:41, Tatsuro MATSUOKA wrote: > OK > > set terminal GPVAL_TERM title "plot 2d" > > This seem to nicer than to use #@GNUTERM" |