[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problem with print/save as when using fltk graphics tool kit
From: |
raman |
Subject: |
problem with print/save as when using fltk graphics tool kit |
Date: |
Mon, 14 Jul 2014 19:02:21 -0700 (PDT) |
I recently installed octave GUI. I followed the instructions on wiki page
http://wiki.octave.org/Octave_for_Microsoft_Windows
to install ghostscript and modify octaverc file. i have also installed
ghostview. however when i run the save as or print command in the command
window i get the following error
command Error: print -deps myplot.eps
Error: /undefined in -1.#IND
Operand stack:
--nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval-- --nostringval--
--nostringval-- false 1 %stopped_push 1900 1 3 %oparray_pop
1899 1 3 %oparr
ay_pop --nostringval-- 1883 1 3 %oparray_pop 1771 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2
--nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
--nostringval--
Dictionary stack:
--dict:1161/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)--
--dict:40/64(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.07: Unrecoverable error, exit code 1
Note: sometime it give the
However when i change the graphics toolkit to gnuplot and then save the
plot, it works. but i want to do it with fltk. can some let me know what
is wrong.
My octaverc file looks like this
cmd_path = getenv ("path");
gs_path = 'C:\Octave\gs9.06\';
if (isempty (strfind (cmd_path, gs_path)))
setenv ('path', strcat (cmd_path, pathsep (), gs_path));
endif
readline_read_init_file (sprintf ("%s%s%s",
octave_config_info ("startupfiledir"),
filesep, "inputrc"));
if (strcmp (PAGER (), "less") && isempty (getenv ("LESS")))
PAGER_FLAGS ('-e -X -P"-- less ?pB(%pB\\%):--. (f)orward, (b)ack,
(q)uit$"');
endif
## This appears here instead of in the pkg/PKG_ADD file so that --norc
## will also skip automatic loading of packages.
pkg ("load", "auto");
atexit ("__finish__");
--
View this message in context:
http://octave.1599824.n4.nabble.com/problem-with-print-save-as-when-using-fltk-graphics-tool-kit-tp4665495.html
Sent from the Octave - General mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- problem with print/save as when using fltk graphics tool kit,
raman <=