Editing Debug plotting issues
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 5: | Line 5: | ||
== Basics == | == Basics == | ||
* '''Octave version:''' Execute 'ver' in Octave and copy | * '''Octave version:''' Execute 'ver' in Octave and copy it verbatim. If you are on Windows mention which build (MinGW, Cygwin, MXE, Visual Studio see http://wiki.octave.org/Octave_for_Microsoft_Windows) and where did you get it? | ||
* '''Operating system:''' | * '''Operating system:''' | ||
** Windows: Is it XP 32bit or 64bit? Windows 7 or 8? | ** Windows: Is it XP 32bit or 64bit? Windows 7 or 8? | ||
** GNU/Linux: Have you installed Octave using your package system (apt-get, yum..) or | ** GNU/Linux: Have you installed Octave using your package system (apt-get, yum..) or via tarball? | ||
* If you get a warning on startup, for example "warning: function xyz.m shadows a built-in function" please copy it verbatim | * If you get a warning on startup, for example "warning: function xyz.m shadows a built-in function" please copy it verbatim | ||
* '''If you get an error message | * '''If you get an error message, please copy the message verbatim''' | ||
== I can't plot or print or the output doesn't look as expected == | == I can't plot or print or the output doesn't look as expected == | ||
Line 20: | Line 20: | ||
on their system and help you. Upload a screenshot (together with the script) if you can't describe it with words. | on their system and help you. Upload a screenshot (together with the script) if you can't describe it with words. | ||
* | * Which toolkit are you using? Execute 'graphics_toolkit' in octave to query it. Common toolkits are 'fltk' 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? Is it a 32 or 64bit build? Please add URL to download. If 64bit under Windows see http://wiki.octave.org/Octave_for_Microsoft_Windows#Printing_.28installing_Ghostscript.29 | |||
* Which Ghostscript version | |||
=== | === printing with gnuplot === | ||
Try | Try | ||
print("testplot.eps", "-debug") | print("testplot.eps", "-debug") | ||
and attach the generated octave-print-commands.log | and attach the generated octave-print-commands.log and debug message. | ||
=== printing with fltk === | |||
A common problem is that printing with fltk only works if the figure is visible, see [http://savannah.gnu.org/bugs/?33180] | |||