[Top][All Lists]

[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

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:
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  
Dictionary stack:
   --dict:1161/1684(ro)(G)--   --dict:0/20(G)--   --dict:82/200(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));

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,

## 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:
Sent from the Octave - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]