help-octave
[Top][All Lists]
Advanced

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

Re: Fwd: isstr vs. ischar for plots in Octave


From: Tatsuro MATSUOKA
Subject: Re: Fwd: isstr vs. ischar for plots in Octave
Date: Mon, 26 Sep 2011 17:05:54 +0900 (JST)

Hello

Please see
http://wiki.octave.org/wiki.pl?OctaveForWindows
1. Standalone ports
 1.1. Octave 3.2.4 for Windows MinGW32
   Additional important topics found after the release:

The message " isstr ....." can be ignored.  The message is not related to the 
"oct2mat" issue.

Regards

Tatsuro

--- On Mon, 2011/9/26, Thomas Scofield  wrote:

> 
> I am forwarding an issue from one of my students who is using Octave on a 
> Windows machine.  He downloaded it recently and, apparently, though I'm using 
> Octave 3.4.0 on my Mac, 3.2.4 is the most recent standalone version for 
> Windows.  Here was his original message:
> 
> 
> -------------
> I get the following message from Octave when I try to plot a graph:
> 
> octave-3.2.4.exe:1> plot(0:.1:1, sin(0:.1:1))
> warning: isstr is obsolete and will be removed from a future version of 
> Octave,
> please use ischar instead
> octave-3.2.4.exe:2>
> 
> I then try the plot command again, and a plot appears but the plot window 
> freezes so that I can do nothing useful with the graph. Do you have any 
> suggestions on what to do with the warning?
> ----------------
> 
> I suggested he see if ver. 3.2.3 was still available somewhere for Windows.  
> Below is his response to that (i.e., the latter chronologically).  Can anyone 
> provide a fix for him?  (And, while I don't wish to downplay using Cygwin, it 
> really would be better for a student who has no other purpose for Cygwin if 
> the solution could apply to the standalone version.)
> 
> Begin forwarded message:
> 
> From: Andrew Hess <address@hidden>
> 
> Date: September 25, 2011 6:00:48 PM EDT
> 
> To: Thomas Scofield <address@hidden>
> 
> Subject: Re: isstr vs. ischar for plots in Octave
> 
> I haven't been able to find a copy of 3.2.3 for Windows, so I downloaded 
> Cygwin, which is a Linux shell, to run Octave 3.4.2 in. The only problem with 
> that is the plot command doesn't work there, either! Here's the error that I 
> get:
> 
> octave:2> v = 0:.1:1;
> octave:3> plot(v,sin(v),v,v)
> warning: X11 DISPLAY environment variable not set
>       0 [main] octave-3.4.2 3324 exception::handle: Exception: 
> STATUS_ACCESS_VIO
> LATION
>     801 [main] octave-3.4.2 3324 open_stackdumpfile: Dumping stack trace to 
> octa
> ve-3.4.2.exe.stackdump
>       0 [main] octave-3.4.2 3060 exception::handle: Exception: 
> STATUS_ACCESS_VIO
> LATION
>     813 [main] octave-3.4.2 3060 open_stackdumpfile: Dumping stack trace to 
> octa
> ve-3.4.2.exe.stackdump
>       0 [main] octave-3.4.2 4676 exception::handle: Exception: 
> STATUS_ACCESS_VIO
> LATION
>     743 [main] octave-3.4.2 4676 open_stackdumpfile: Dumping stack trace to 
> octa
> ve-3.4.2.exe.stackdump
>       0 [main] octave-3.4.2 5052 exception::handle: Exception: 
> STATUS_ACCESS_VIO
> LATION
>     760 [main] octave-3.4.2 5052 open_stackdumpfile: Dumping stack trace to 
> octa
> ve-3.4.2.exe.stackdump
> error: Invalid call to strcat.  Correct usage is:
> 
>  -- Function File:  strcat (S1, S2, ...)
> 
> error: called from:
> error:   /usr/share/octave/3.4.2/m/help/print_usage.m at line 87, column 5
> error:   /usr/share/octave/3.4.2/m/strings/strcat.m at line 92, column 5
> error:   /usr/share/octave/3.4.2/m/plot/__gnuplot_get_var__.m at line 113, 
> colum
> n 11
> error:   /usr/share/octave/3.4.2/m/plot/__go_draw_axes__.m at line 40, column 
> 18
> 
> error:   /usr/share/octave/3.4.2/m/plot/__go_draw_figure__.m at line 167, 
> column
>  19
> error:   /usr/share/octave/3.4.2/m/plot/__gnuplot_drawnow__.m at line 86, 
> column
>  5
> 
> As you can see, I don't think gnuplot is properly accessed by Octave in the 
> Linux shell. Although, I know gnuplot exists in the shell because I can start 
> it up in the shell.
> 
> Do you have any suggestions on what I might do next? 
> 
> 
> 
> Thomas L. Scofield
> --------------------------------------------------------
> Associate Professor
> Department of Mathematics and Statistics
> Calvin College
> --------------------------------------------------------
>


reply via email to

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