|
From: Tatsuro M. <tma...@ya...> - 2010-05-06 22:50:18
|
Hello
Although you have not mentioned, I think that you are using wxt terminal,
which is default terminal for gnuplot 4.4 for windows binary distribution.
For the wxt terminal, wguplot.ini has no effects. The setting of wgnuplot.ini is only effective for
the windows terminal.
Unfortunately the wxt terminal does not have position option unlike the current windows or x11
terminals.
*************************************************
set terminal x11 {<n> | window "<string>"}
{title "<string>"}
{{no}enhanced} {font <fontspec>}
{linewidth LW} {solid|dashed}
{{no}persist} {{no}raise} {{no}ctrlq}
{close}
{size XX,YY} {position XX,YY}
set terminal windows {color | monochrome}
{enhanced | noenhanced}
{{font} "fontname{,fontsize}" {<fontsize>}}
{title "Plot Window Title"}
{size <width>,<height>}
{position <x>,<y>}
{close}
set term wxt {<n>}
{size <width>,<height>}
{{no}enhanced}
{font <font>}
{title "title"}
{{no}persist}
{{no}raise}
{{no}ctrl}
{close}
**********************************************************************
Seeing the source code of wxt terminal, it is possible to specify the plot window.
However it requires the source code modification.
Therefore it is now impossible to control the plot position of wxt terminals.
(It is possible to move plot windows by windows script host (WSH) but it is tricky way, I think.)
For the text windows, the setting of wgnuplot.ini should be effective.
However you have posted the proceeding threads, you post the issue for wgnuplot.ini.
I will reply in the thread.
BTW, I think that it is better that the wxt terminal also have 'position' option like x11 and windows
terminals.
Regards
Tatsuro
--- Proch将。zka Luk将。将゛ wrote:
> Hello,
>
> I'm a WinXP user and I use gnuplot for some purposes.
>
> Is there a possibility how to tell gnuplot to restore last position of the
> main and plotting window?
>
> When I run gnuplot, I often need to move the main window somewhere as it
> is overlapped by the plotting window.
>
> I didn't find any information about how to specify coordinates of the
> corners of the windows; or how to tell the program to keep them (save them
> on exit) and use later (when staring).
>
> Or it might be possible to get them somehow from the startup file?
>
> And one more suggestion -
>
> - would it be possible to define some hot-keys for some operations?
>
> Suggestions:
>
> Ctrl+O = "Open..."
> Ctrl+R = "Replot"
> Ctrl+P = "Print Screen"
> Ctrl+G = "Grid on" / "Grid off"
> Ctrl+D = "Change Directory..."
>
> Thank you in advance.
>
> Lukas
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/
|