From: Alan W. I. <Ala...@gm...> - 2020-02-08 19:19:25
|
On 2020-02-07 13:14+0100 Xavier Cardil wrote: > I was wondering how could I remove the white space between plots when using > a grid-like subplot configuration. When I stack plots vertically, there is > a small margin that is negligible for our use, but not when on a grid > scenario ( see picture ) > > [image: plplot.png] > > If you guys could give me a fast tip on how to control the margins between > plots, or just to remove them completely I'd appreciate it Hi Xavier: It is interesting you brought up this topic since I have recently encountered it myself. Some of my older research plots used the "yplot" wrapper for PLplot which dealt with this issue by defining the "plstick" functionality, but yplot is moribund so when recently attempting to replicate those old research plots I copied the essentials of plstick to Python so I could use plstick from that language. I attach a figure showing the type of results you can get with this Python version of plstick, and if you like those I suggest you port the Python version of plstick (which I have also attached) to whatever language you like to use to generate your plots. Alan __________________________ Alan W. Irwin Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |