In the hope that I wouldn't have to read the entire 700+ page OpenGL manual I tried the running the flexi-line-auto.pure demo mentioned at https://agraef.github.io/pure-docs/pure-gl.html. I ran
pure flexi-line-auto.pure
and absolutely nothing happened: the command exited without errors and without producing any graphics. Any ideas?
What I would like to do is make simple images from matrices, along the lines of Mathematica's ArrayPlot command. Are there any examples in Pure I might find helpful?
--
You received this message because you are subscribed to the Google Groups "pure-lang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pure-lang+unsubscribe@googlegroups.com.
To post to this group, send email to pure...@googlegroups.com.
Visit this group at https://groups.google.com/group/pure-lang.
For more options, visit https://groups.google.com/d/optout.
On Thu, Jan 11, 2018 at 6:06 PM, Andrew Dabrowski <unhan...@gmail.com> wrote:
In the hope that I wouldn't have to read the entire 700+ page OpenGL manual I tried the running the flexi-line-auto.pure demo mentioned at https://agraef.github.io/pure-docs/pure-gl.html. I ran
pure flexi-line-auto.pure
and absolutely nothing happened: the command exited without errors and without producing any graphics. Any ideas?
Click somewhere in the OpenGL window. :)
What I would like to do is make simple images from matrices, along the lines of Mathematica's ArrayPlot command. Are there any examples in Pure I might find helpful?
Have you tried pure-gplot? https://github.com/agraef/pure-lang/tree/master/pure-gplot Example: gplot_test.pure
> let gp = gplot::open "gnuplot";
> gplot::plot gp mat matrix with image;
<stdin>, line 49: syntax error, unexpected ';', expecting '=' or '|'
> gplot::plot gp mat "matrix with image";
()
>
gnuplot> e
^
line 0: invalid command
It doesn't help that the usage notes at
https://github.com/agraef/pure-lang/blob/master/pure-gplot/gplot.pure
are truncated on the right.
There's also a more elaborate interface to gnuplot via octave: https://github.com/agraef/pure-lang/tree/master/pure-octave Example: plot_demo.pure
Caveat: The Octave embed interface used by pure-octave is completely broken in Octave 4.2. Use an earlier version instead. The current development version (4.3, available as octave-hg in the AUR if you're running Arch Linux) should work, too.
--
Dr. Albert Gr"af
Computer Music Research Group, JGU Mainz, Germany
Email: agg...@gmail.com
WWW: https://plus.google.com/+AlbertGraef
--
You received this message because you are subscribed to a topic in the Google Groups "pure-lang" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pure-lang/vlsBeUZ-uPw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pure-lang+...@googlegroups.com.
There is no such window visible.
Maybe some of the command has to be quoted?
It doesn't help that the usage notes at
https://github.com/agraef/pure-lang/blob/master/pure-gplot/gplot.pure
are truncated on the right.