gmt classic vs. modern - gmt psxy in modern mode does not draw lines

Super simple script; project and plot earth relief and plot coastline on top. One script in classic mode and the other in modern mode. The latter does not plot the coastline, and I do not understand why - any comments?

Replies (7)

Don't find the psxy command in the docs, but there seems to be a plot command that fits the bill. Funny though, one would expect a warning message if trying to run a no-longer existing command (if this is the case)

Wow, It didnt even occur to me that psxy has a new name. Thank you Peter! Agree that a warning should be dispatched.

So it turns out my original script has two problems:

1) psxy doesnt exist in modern mode - use plot psxy does actually work in modern mode (though not mentioned on the man pages).2) gmt pscoast -RNO,IS -ENO,IS -M does not output anything - hence there was nothing to plot in the first place. Isnt this a valid command? gmt pscoast -RNO,IS -W -M works. The command by itself works, but not in my script. I'm confused.