Do not draw color bar in modern mode one liner

While this feature is useful most of the time, in some occasions you would rather not draw a color bar. Is it possible to suppress this?

E.g.

gmt grdimage -Rg @earth_relief_20m -png world

Ref. The note in

21.2. One-liner Syntax.

For anyone else wondering, it looks like it’s not possible.
The solution is to do a normal ‘modern session’:

gmt begin world png
gmt grdimage -Rg @earth_relief_20m
gmt end

It is not possible without adding options which defeat the whole point of the quick one-liner.

1 Like

And, still a one-liner;

gmt begin world png; gmt grdimage -Rg @earth_relief_20m; gmt end