MGLVIEW(1)

πŸ‘‘ MGLVIEW β€” ok bestie, let's make some plots πŸ’–

so this is the User Manuals page for mglview, and honestly? it's giving "tiny tool, big main character energy". buckle up πŸŽ€


✨ NAME ✨

mglview β€” run your MathGL scripts and watch them pop up in a window, fr fr πŸͺŸβœ¨


🌸 SYNOPSIS 🌸

mglview [parameters] scriptfile

πŸ’… DESCRIPTION πŸ’…

okay so here's the vibe: mglview reads MGL scripts out of scriptfile and turns them into plots of whatever functions or data you told it about. then it literally opens up a GUI window showing you the result of your script. no cap, it just... shows you. πŸ’–

and here's the cute part β€” you can use - as the file name to read your script from standard input. iykyk, piping is iconic. 🫢

another option (the glow-up): use *.mgld files for quick viewing of 3d pictures. yes bestie, quick 3d viewing. obsessed. πŸ¦‹


πŸŽ€ OPTIONS πŸŽ€

  • -1 string β€” sets string as the argument $1 for your script.
  • ...
  • -9 string β€” sets string as the argument $9 for your script.
  • -L locname β€” sets the locale to locname.
  • -h β€” prints the help message. that's it, that's the whole job. πŸ’…
yes bestie, that ... in the middle is doing heavy lifting β€” the args run all the way from $1 up through $9, same pattern the whole way down. nine lil slots for your script to snack on. πŸ“

🌈 AUTHOR 🌈

mglview was written by Alexey Balakin, and you can find the whole thing over at http://mathgl.sourceforge.net/ β€” go say hi, the way that URL has been serving since forever. πŸ‘‘


⭐ SEE ALSO ⭐


and that's the whole page, bestie!! πŸ’–βœ¨ this one's from the MathGL manual, dated MARCH 2012 β€” vintage but still slaying. go plot something gorgeous, you got this πŸ§šπŸŒΈπŸ’œ