help-octave
[Top][All Lists]
Advanced

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

Re: Y value on Bar Graph


From: Manoj Deshpande
Subject: Re: Y value on Bar Graph
Date: Tue, 3 Aug 2010 00:02:57 -0400


 Hi Ben,

Thanks for replying,  i tried text, but it messes up the graph. Please take a look at the images attached to this email.

141     bar(frequency);
142     set(gca,'XTick',[1:7]);
143     set(gca,'xticklabel',bins);

AFTER USING TEXT

141     bar(frequency);
142     set(gca,'XTick',[1:7]);
143     set(gca,'xticklabel',bins);
144     text(50,50,"testing");

Any suggestions ?

Thanks,
Manoj

On Mon, Aug 2, 2010 at 2:41 PM, bpabbott <address@hidden> wrote:
On 02 Aug, 2010,at 02:08 PM, Manoj Deshpande <address@hidden> wrote:

Hi All,

http://stackoverflow.com/questions/2472052/y-value-on-bar-graph-in-gnuplot

I am trying to get the above functionality on octave, is there a way via system to call  gnuplot directly, and get this going ? or is there an equivalent in octave itself ?
Any suggestions would be really appreciated.

Thanks in advance,
Manoj
 
Please take a look at the text() function.

    help text

This function will allow you to place labels above the bars.

Ben

Attachment: without_text.jpg
Description: JPEG image

Attachment: with_text.jpg
Description: JPEG image


reply via email to

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