Dear all,
I am using this example to understand multiple plots on the same output. The souce site is:
http://gnuplot.sourceforge.net/demo_5.4/layout.html
The commands I am using are these
set multiplot layout 2,2 title "Multiplot layout" font ",14"
set xtics rotate
#
set title "Plot 1"
unset key
plot sin(x)/x
#
set title "Plot 2"
unset key
plot 'silver.dat' using 1:2 ti 'silver.dat'
#
set title "Plot 3"
unset key
plot sin(x)/x
#
set title "Plot 4"
unset key
plot 'silver.dat' using 1:2 ti 'silver.dat'
#
unset multiplot
The output is a bit squeezed in the y direction. Can anyone explain how to correct it? I want uniform x and y dimensions, a square domain is desirable, precisely. Thanks in advance!
Regards
Shahid
Dear all,
I am using this example to understand multiple plots on the same
output. The souce site is: http://gnuplot.sourceforge.net/demo_5.4/layout.html
The output is a bit squeezed in the y direction. Can anyone explain
how to correct it? I want uniform x and y dimensions, a square domain
is desirable, precisely. Thanks in advance!
Regards Shahid
On 16.06.2022 16:04, Shahid Maqbool wrote:
Dear all,
I am using this example to understand multiple plots on the same
output. The souce site is: http://gnuplot.sourceforge.net/demo_5.4/layout.html
It is still not working for the 2,2 multiplot, especially with the titles turned on.The output is a bit squeezed in the y direction. Can anyone explain
how to correct it? I want uniform x and y dimensions, a square domain
is desirable, precisely. Thanks in advance!
Regards ShahidIf you want to have the same dimension of the graphs you must set the margins. Example:
set margins 10,10,1,1
set multiplot layout 2,1
plot sin(x)
plot sin(x)+100
unset multiplot
Jörg
On Friday, 17 June 2022 at 3:08:49 pm UTC+8, Jörg Buchholz wrote:
On 16.06.2022 16:04, Shahid Maqbool wrote:It is still not working for the 2,2 multiplot, especially with the titles turned on.
Dear all,If you want to have the same dimension of the graphs you must set the
I am using this example to understand multiple plots on the same
output. The souce site is:
http://gnuplot.sourceforge.net/demo_5.4/layout.html
The output is a bit squeezed in the y direction. Can anyone explain
how to correct it? I want uniform x and y dimensions, a square domain
is desirable, precisely. Thanks in advance!
Regards Shahid
margins. Example:
set margins 10,10,1,1
set multiplot layout 2,1
plot sin(x)
plot sin(x)+100
unset multiplot
Jörg
Shahid
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 53:14:41 |
Calls: | 6,650 |
Calls today: | 2 |
Files: | 12,200 |
Messages: | 5,330,489 |