help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

octave GUI problem with print when using fltk


From: raman
Subject: octave GUI problem with print when using fltk
Date: Mon, 14 Jul 2014 19:08:54 -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. 

http://wiki.octave.org/Octave_for_Microsoft_Windows

however when i run the save as or print command (print -deps myplot.eps) in
the command window i get the following error 

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 





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__"); 

Note: 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. 



--
View this message in context: 
http://octave.1599824.n4.nabble.com/octave-GUI-problem-with-print-when-using-fltk-tp4665497.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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