From: itatz on
Hi,

I have to plot, given a vector, its filled stair function (like the built-in stairs function, but solid).
for instance, given the vector A=[1 2 3], I want to plot 3 adjacent solid rectangles each one with its height.
I tried to put the stairs function into the fill function but it doesnt work.

Thanks a lot
From: ImageAnalyst on
On Dec 2, 7:29 pm, "itatz " <ita....(a)libero.it> wrote:
> Hi,
>
> I have to plot, given a vector, its filled stair function (like the built-in stairs function, but solid).
> for instance, given the vector A=[1 2 3], I want to plot 3 adjacent solid rectangles each one with its height.
> I tried to put the stairs function into the fill function but it doesnt work.
>
> Thanks a lot

-------------------------------------------------------------
Why? What for?
Will the bar() function work?
 | 
Pages: 1
Prev: output from function
Next: Gevp Problem