help-octave
[Top][All Lists]
Advanced

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

RE: print plot is cutting the image


From: William Krekeler
Subject: RE: print plot is cutting the image
Date: Thu, 7 Apr 2011 20:06:22 +0000

 

 

From: address@hidden [mailto:address@hidden On Behalf Of Érico Porto
Sent: Thursday, April 07, 2011 2:38 PM
To: Andy Buckle
Cc: address@hidden
Subject: Re: print plot is cutting the image

 

does anyone know how to get a string length?

Érico V. Porto

On Thu, Apr 7, 2011 at 3:10 PM, Érico Porto <address@hidden> wrote:

If I run this it works, but there are more points tho process, and the others don't work

To explain better, if I start octave, manually add the data and try once, it works!

But it doesn't when sequentially called through bash.

Érico V. Porto



On Thu, Apr 7, 2011 at 2:52 PM, Andy Buckle <address@hidden> wrote:

On Thu, Apr 7, 2011 at 6:36 PM, Érico Porto <address@hidden> wrote:
> is there a better workaround? This one work only the first time it is used -
> and the other times I'm just recalling the same code through an bash
> script...

I don't understand "only the first time" in this context.

Please don't top post.

--
/* andy buckle */

 

you can use the length command to get a string length. if you have a non-char data structure you may need to map the variable to char first to get the appropriate size, as opposed to the size of the data structure. Several examples below.

 

x = 'string'

length(x)

numel(x)

max( size(x) )


reply via email to

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