help-octave
[Top][All Lists]
Advanced

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

Re: octave GUI problem with print when using fltk


From: Tatsuro MATSUOKA
Subject: Re: octave GUI problem with print when using fltk
Date: Tue, 15 Jul 2014 11:56:46 +0900 (JST)

> From: raman 

> To: address@hidden
> Cc: 
> Date: 2014/7/15, Tue 11:08
> Subject: octave GUI problem with print when using fltk
> 
> 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. 
> 


Is gswin32c.exe  located at C:\Octave\gs9.06\?


Usually ghostscript binary is located under gs(version number)\bin.

Tatsuro



reply via email to

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