I have just updated my GMT to version 6.5.0 and I wanted to generate a plot based on:
#!/bin/bash
gmt set FONT_ANNOT_PRIMARY 12p,Helvetica-Bold,black
gmt set FONT_LABEL 14p
FILE1="final+nume.longlat"
gmt begin statii jpg
gmt coast -R15/60/35/66 -Gwheat -B10a0g10 -Dl -BWSn -Wthin -JM15c -N1/thick,black -Slightblue
awk '{print($1,$2,$3)}' $FILE1 | psxy -W.1 -Sc0.4 -Gred
gmt legend -DJRT+w3.1c/2.5c+o0.20c/-2.5c+l1.4 -C0.3c/0.3c -F+p+gazure1+r <<EOF
H 14 STATIONS
Sd -0.05 c 0.40 red 0.3 0.2 Station
EOF
gmt end show
and it generated the map but on a strange type of paper (the figure is in the left part of the paper and there is lot’s of withe paper) and the figure is small.
I have tried also using the examples from gmt-for-geodesy/02_basics/italy.sh and the same strange layout is generated.
I have attached the final+nume.longlat file + gmt.conf file - I have modified the extension to *.txt so that I can upload the files.
The problem is that this strange type of paper (the figure is in the left part of the paper and there is lot’s of withe paper) and the figure it self is small, is happening to all off the figures that I’m generating (that includes the examples that have geographic projection) including the examples from gmt-for-geodesy/ - from github - that is way I have attached the figure that I have generated using the script - italy.sh from gmt-for-geodesy/
Thank you @Estaban82 for the recommendation " in your code replace psxy by gmt plot".
Thank you all,
Sorin
My gs version was 9.26 but I have updated to latest version 10.04 and now to figures are generated as they should - no more white paper.
As a comparison between the gmt 6.0 and 6.5, in the gmt version 6.0, for the command psxy -W.1 -Sd0.30 in the gmt6.5 version for the command gmt plot -W.1 -Sd0.15 - so the size of the symbol in gmt 6.5 is double as a size compared to the gmt 6.0 version.