gmt icon indicating copy to clipboard operation
gmt copied to clipboard

Example for anim12 written in Batch script

Open Squadzone opened this issue 4 years ago • 7 comments

for Windows execute with command prompt tested with gmt 6.1.1

Squadzone avatar Feb 15 '21 16:02 Squadzone

💖 Thanks for opening this pull request! 💖

Please make sure you read our Contributing Guide and abide by our Code of Conduct.

A few things to keep in mind:

  • If you need help writing tests, take a look at the existing ones for inspiration. If you don't know where to start, let us know and we'll walk you through it.
  • All new features should be documented. It helps to write the comments below for your functions describing the it, all arguments, and return types before writing the code. This will help you think about your code design and results in better code.
  • We are grateful that you put in the effort to do this! 🎉

welcome[bot] avatar Feb 15 '21 16:02 welcome[bot]

@joa-quim I guess we don't want to maintain batch scripts for our animation examples, right?

seisman avatar Jun 06 '24 04:06 seisman

Agree that we don't want to maintain (worst, create versions of) animations batch scripts but I think it would be good to have at least one example to show that Windows users can also write their animations with plain .bat files.

joa-quim avatar Jun 06 '24 10:06 joa-quim

I think it would be good to have at least one example to show that Windows users can also write their animations with plain .bat files.

https://docs.generic-mapping-tools.org/dev/movie.html

image

Is this one enough?

seisman avatar Jun 07 '24 13:06 seisman

Well, yes but it wouldn't harm either if we had one of the animations as a batch file. And specially in this case that the user already made it.

joa-quim avatar Jun 07 '24 14:06 joa-quim

I guess we need a Windows user to run the batch scripts to make sure they're correct.

seisman avatar Jun 13 '24 01:06 seisman

Actually, the batch version is more difficult to read and understand, because it uses echo extensively to write GMT commands into the pre, main and post scripts.

seisman avatar Jun 13 '24 01:06 seisman

I'm closing this PR.

seisman avatar Jul 10 '24 05:07 seisman