Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #3983

Re: How to reset configurations to their defaults?

From Ethan Merritt <sfeam@users.sf.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to reset configurations to their defaults?
Date 2018-06-28 19:32 +0000
Organization A noiseless patient Spider
Message-ID <ph3d4f$l9$1@dont-email.me> (permalink)
References <cd0f19dc-36b6-4636-9101-1bd02a47062b@googlegroups.com> <2e3258e6-1bce-465f-9817-049a03ae996f@googlegroups.com> <a9a16ff6-a11f-4f9f-90c2-554d192b8951@googlegroups.com> <21868ab2-d7c2-472d-9b53-60f40311fd31@googlegroups.com>

Show all headers | View raw


On Wed, 27 Jun 2018 23:01:46 -0700, palme wrote:

>> > What about "set grid front"? This is not reset to the "default layer"
>> > with "unset grid; set grid". Is there also another setting which is
>> > only aliased by "set grid front/back"?
> 
> Similar issue with "set grid linetype 5".
> 
> The command sequence "unset grid; set grid" does not restore the grid
> linetype to its default value.
> 
> While working with all those settings, I find more and more such
> examples. Do I miss some basic understanding? Or are these things indeed
> bugs that I should report?

Not bugs.
Consider that you can toggle the grid on/off interactively.
This would be useless if all the current grid settings were lost every
time you toggled it off.   "set/unset grid" with no extra keywords 
should be considered as "display or don't display the current grid".

Similar argument for tics.  The assumption is that while the user probably
will not want the same specific tic placements on successive plots, they 
probably will want the same font/linewidth/ticscale/etc formatting.  
In your case this assumption is apparently wrong.

You confuse me a bit by saying that you
>  need a generic way to ensure that each plot (in a multiplot
>  environment) looks exactly as given in the configuration, and
>  does not "inherit" configuration settings from the previous plot.

That seems very close to what the program assumes: no change to what
the tics "look like", only where they are placed.

In the environment you describe, perhaps one solution is to create
a set of short scripts each of which fully describes the tic properties.
Then your overall script would refer to the desired style each time:
set multiplot
load 'tic_style_A.gp'
plot ...
load 'tic_style_B.gp'
plot ...
load 'tic_style_C.gp'
plot ...
unset multiplot

	Ethan
> 
> -stefan-

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

How to reset configurations to their defaults? palme@kapott.org - 2018-06-27 12:01 -0700
  Re: How to reset configurations to their defaults? Ethan Merritt <eamerritt@gmail.com> - 2018-06-28 04:36 +0000
  Re: How to reset configurations to their defaults? palme@kapott.org - 2018-06-27 22:07 -0700
    Re: How to reset configurations to their defaults? palme@kapott.org - 2018-06-27 22:26 -0700
      Re: How to reset configurations to their defaults? palme@kapott.org - 2018-06-27 23:01 -0700
        Re: How to reset configurations to their defaults? Ethan Merritt <sfeam@users.sf.net> - 2018-06-28 19:32 +0000
          Re: How to reset configurations to their defaults? palme@kapott.org - 2018-06-28 13:14 -0700
            Re: How to reset configurations to their defaults? palme@kapott.org - 2018-06-28 13:22 -0700
              Re: How to reset configurations to their defaults? Karl Ratzsch <mail.kfr@gmx.net> - 2018-06-29 01:57 +0200
                Re: How to reset configurations to their defaults? palme@kapott.org - 2018-06-28 21:32 -0700
                Re: How to reset configurations to their defaults? Ethan Merritt <eamerritt@gmail.com> - 2018-06-29 05:37 +0000
                Re: How to reset configurations to their defaults? palme@kapott.org - 2018-06-29 00:27 -0700
                Re: How to reset configurations to their defaults? Ethan Merritt <eamerritt@gmail.com> - 2018-06-29 21:04 +0000

csiph-web