[Top][All Lists]

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

Re: problem plotting "N-d object"

From: CdeMills
Subject: Re: problem plotting "N-d object"
Date: Fri, 17 Feb 2012 10:35:41 -0800 (PST)

bpabbott wrote
> On Feb 17, 2012, at 11:59 AM, Jordi Gutiérrez Hermoso wrote:
> Jordi,
> Any concerns about something like the attached ?

Yes. squeezing should not be automatic. Maybe the array is N-d in the first
place because there was a bug in the script, and it was not the author's
intent to have an array with more than two dimensions.

IMHO, it should be the responsability of the author to squeeze the array
before calling plot. Another option would be to implement a "squeezable"
class, that is, a N-D array with the property that it's squeezed when at
least one of the indexes of the selection is a singleton. Only the subsref
method should be modified.



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]