help-octave
[Top][All Lists]
Advanced

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

Re: different color bar graph


From: shivax
Subject: Re: different color bar graph
Date: Mon, 17 Jun 2019 23:50:52 -0500 (CDT)

i try another exampe but i've some problem with you code

Example:

T=[3 4 -1 9 4 1]

if i use your method i see

neg=find(T<=0);
pos=find(T>0);
 tt=[T(pos);T(neg)]'
error: vertical dimensions mismatch (1x4 vs 1x7)

The correct is to see graph below
https://gyazo.com/25616bdbc3a152df1084e3c39e57484c



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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