[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: |
Tue, 21 Feb 2012 02:29:01 -0800 (PST) |
bpabbott wrote
>
>
>
> I had thought broadcasting would require the dot type operator ".+" and
> that "+" would behave in a strict/pedantic manner (as with multiplication
> and division).
>
> In any event, I do think there is a parallel to be drawn for N-d plotting.
>
Ben,
I had the same idea.
I often run simulations, producing 2D arrays at each step, and collating
everything in a 3D array.
Then I plot everything as:
hold on; resu = [];
for inds = (Nsimu:-1:1)
resu(inds, 1) = plot(somevar(:, :, inds));
endfor
hold off
That is, the third dim is "peeled" slice by slice, and all 2D graphs are
concatenated together. Similary, the result is a vector a graph handles.
Would this seems an acceptable way to "plot" a 3D array ?
Regards
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/problem-plotting-N-d-object-tp4397525p4406599.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Re: problem plotting "N-d object", (continued)
- Re: problem plotting "N-d object", CdeMills, 2012/02/19
- Re: problem plotting "N-d object", Sergei Steshenko, 2012/02/19
- Re: problem plotting "N-d object", CdeMills, 2012/02/20
- Re: problem plotting "N-d object", Pascal A. Dupuis, 2012/02/20
- Re: problem plotting "N-d object", Jordi GutiƩrrez Hermoso, 2012/02/20
- Re: problem plotting "N-d object", Pascal A. Dupuis, 2012/02/20
- Re: problem plotting "N-d object", Ben Abbott, 2012/02/20
- Re: problem plotting "N-d object",
CdeMills <=
- Re: problem plotting "N-d object", Ben Abbott, 2012/02/21
- Re: problem plotting "N-d object", Sergei Steshenko, 2012/02/21
- Re: problem plotting "N-d object", Ben Abbott, 2012/02/17
- Re: problem plotting "N-d object", Ben Abbott, 2012/02/18
- Re: problem plotting "N-d object", James Sherman Jr., 2012/02/17
- Re: problem plotting "N-d object", Sergei Steshenko, 2012/02/17