296
edits
(update of debuggin tips) |
m (maint: fix external link syntax, use https) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
== Basics == | == Basics == | ||
* '''Octave version:''' Execute 'ver' in Octave and copy "GNU Octave Version" and "Operating System" verbatim. If you are on Windows please mention which build (MinGW, Cygwin, MXE, Visual Studio see | * '''Octave version:''' Execute 'ver' in Octave and copy "GNU Octave Version" and "Operating System" verbatim. If you are on Windows please mention which build (MinGW, Cygwin, MXE, Visual Studio see [[Octave for Microsoft Windows]]) and where you got it (download from https://sourceforge.net/, http://mxeoctave.osuv.de/) or have you build it yourself?. This is important because some packages includes whole build environment while other just provide binaries even for octave-forge packages. | ||
* '''Operating system:''' | * '''Operating system:''' | ||
Line 24: | Line 24: | ||
* Which toolkit are you using? Common toolkits are 'fltk' (which is default now) or 'gnuplot'. Consider switching to another available toolkit (see available_graphics_toolkits) and try it there. You have to execute (for example switch to gnuplot) 'graphics_toolkit gnuplot' before any plotting command. | * Which toolkit are you using? Common toolkits are 'fltk' (which is default now) or 'gnuplot'. Consider switching to another available toolkit (see available_graphics_toolkits) and try it there. You have to execute (for example switch to gnuplot) 'graphics_toolkit gnuplot' before any plotting command. | ||
* Which Ghostscript version do you use? Is it a 32 or 64bit build? Please add URL to download. If 64bit under Windows see | * Which Ghostscript version do you use? Is it a 32 or 64bit build? Please add URL to download. If 64bit under Windows see [[Octave for Microsoft Windows#Printing (installing Ghostscript)]] | ||
=== Debug printing with gnuplot === | === Debug printing with gnuplot === | ||
Line 81: | Line 81: | ||
paperposition, papersize and so on are ignored in this case. | paperposition, papersize and so on are ignored in this case. | ||
This uses [http://geuz.org/gl2ps/ | This uses [http://geuz.org/gl2ps/ GL2PS_BSP_SORT], [https://en.wikipedia.org/wiki/Binary_space_partitioning BSP on Wikipedia] | ||
drawnow ("eps", "cat > out.eps") | drawnow ("eps", "cat > out.eps") | ||
edits