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


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

Re: How to reset configurations to their defaults?

From Ethan Merritt <eamerritt@gmail.com>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: How to reset configurations to their defaults?
Date 2018-06-29 05:37 +0000
Organization A noiseless patient Spider
Message-ID <ph4giv$ko3$1@dont-email.me> (permalink)
References (3 earlier) <21868ab2-d7c2-472d-9b53-60f40311fd31@googlegroups.com> <ph3d4f$l9$1@dont-email.me> <9d2ffdb9-bad7-43f9-b3d6-613fa7f06a61@googlegroups.com> <e6f4c672-8803-4353-87f3-fc578d4de14b@googlegroups.com> <ph3sl9$kgk$1@solani.org>

Show all headers | View raw


On Fri, 29 Jun 2018 01:57:26 +0200, Karl Ratzsch wrote:

> Am 28.06.2018 um 22:22 schrieb palme@kapott.org:
>>>   1) Execute each user script separately in a really clean environment
>>>   (i.e. with a "reset" or whatever before them), and then find a
>>>   non-gnuplot based way to put all of them onto a single page (i.e.
>>>   emulating "multiplot" by myself).
>>>
>>>   2) The gnuplot community agrees that there might be different kinds
>>>   of "reset" commands: one that also affects a multiplot context,
>>>   another one that resets everything EXCEPT the multiplot information,
>>>   ... ideas welcome
>> 
>> 3) Each set command could support "set ... default" to reset all
>> parameters to their default values (as it already exists with "set key
>> default")
>> 
>> 
> "reset" does not "destroy" the multiplot environment, it's just not
> compatible with multiplot's "layout" option.
> 
> That specific aspect could easily get fixed, i think.

I agree. In fact the bug is strangely specific to the plot immediately
following the reset. After that it recovers its position in the
multiplot layout.

So with that in mind, here is a work-around to use right now.
Requires gnuplot version 5.0 or 5.2

set multiplot layout 2,2
plot 1
reset; set multiplot next; set multiplot previous
plot 2
reset; set multiplot next; set multiplot previous
plot 3
reset; set multiplot next; set multiplot previous
plot 4
unset multiplot

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