|
From: Kevin O. <rko...@gm...> - 2016-07-28 18:35:12
|
On Thu, Jul 28, 2016 at 10:38 AM, Hans-Bernhard Bröker < HBB...@t-...> wrote: > Am 28.07.2016 um 11:03 schrieb Robert von Knobloch: > > > Using multiplot, I would like to be able to align the temperature with > > the date/time of the data, so that the correlation between temp and data > > can be easily viewed. > > You really should _not_ be using multiplot for that. Just plot both > data sets in a single 'plot' command, and you'll be done with it. > > I keep wondering how so many people arrive at the belief that they > should be using multiplot for so many jobs it's the completely wrong > tool for. Is the concept of > > plot 'file1', 'file2' > > really that hard to pick up from the documentation and demos? > > > ------------------------------------------------------------------------------ > In a word, yes! "set multiplot" just looks like the right thing when you want multiple plots to one screen or file. The manual makes it look like that is the answer: "The command set multiplot places gnuplot in the multiplot mode, in which several plots are placed on the same page, window, or screen." I was lucky enough to read the manual for "plot" and wee that it took multiple files, each with the standard options for style and it just worked. But, if you search the manual for "multi", you find "multiplot over and over along with the repeated (and correct) statement: "Remember to close the output file before next plot unless in multiplot mode." makes it sound like multiplot is the intended tool for placing multiple data sets onto a single plot when it is actually intended for a similar, but different purpose. I wish the "set multiplot" section had something near that top pointing out that 'plot "file1", "file2", ..." is another, possibly more appropriate approach. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rko...@gm... PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 |