how to make ginput work?

View: New views
6 Messages — Rating Filter:   Alert me  

how to make ginput work?

by gabzz33 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello
I try presently to use the ginput function for my program.
presently i just tried to plot a simple plot
plot([1,2,3,4])
and then enter [x,y]=ginput
he answers me
x=[] (0x1)
y=[] (0x1)
So I understood that he has aquired no point at all, but I don't why. I have tried to click on the plot screen with the right or the left button , even pressing space as it is said in the ginput help description, all this before or after that I launched the ginput function the result is allways the same.
I tried to enter [x,y]=ginput([1 10])
he says
First click on x-axis 1
Then click on x-axis 10
I click everywhere every number of time it's locked. it has bugged and I need to close octave.
I use octave 3.0.0 and the gnuplot delivered with
If somebody can help me it'll be great
thank you
Gabriel  
 

Re: how to make ginput work?

by Michael Goffioul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you're using the Windows binary package, then ginput is not
working. There's currently no way to make it work.

Michael.

On 3/3/08, gabzz33 <gabriel.micard@...> wrote:

>
> hello
> I try presently to use the ginput function for my program.
> presently i just tried to plot a simple plot
> plot([1,2,3,4])
> and then enter [x,y]=ginput
> he answers me
> x=[] (0x1)
> y=[] (0x1)
> So I understood that he has aquired no point at all, but I don't why. I have
> tried to click on the plot screen with the right or the left button , even
> pressing space as it is said in the ginput help description, all this before
> or after that I launched the ginput function the result is allways the same.
> I tried to enter [x,y]=ginput([1 10])
> he says
> First click on x-axis 1
> Then click on x-axis 10
> I click everywhere every number of time it's locked. it has bugged and I
> need to close octave.
> I use octave 3.0.0 and the gnuplot delivered with
> If somebody can help me it'll be great
> thank you
> Gabriel
>
> --
> View this message in context: http://www.nabble.com/how-to-make-ginput-work--tp15807686p15807686.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> Help-octave@...
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www.cae.wisc.edu/mailman/listinfo/help-octave

Re: how to make ginput work?

by dbateman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael Goffioul wrote:
> If you're using the Windows binary package, then ginput is not
> working. There's currently no way to make it work.
>
In fact I'm not sure it works at all with Octave 3.0.0 at the moment
given all of the changes to the graphics code... However it should given
that its pure XLib code and interfaces directly to the gnuplot window.

D.



_______________________________________________
Help-octave mailing list
Help-octave@...
https://www.cae.wisc.edu/mailman/listinfo/help-octave

Re: how to make ginput work?

by dbateman3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Michael Goffioul wrote:
> If you're using the Windows binary package, then ginput is not
> working. There's currently no way to make it work.
>
In fact I'm not sure it works at all with Octave 3.0.0 at the moment
given all of the changes to the graphics code... However it should given
that its pure XLib code and interfaces directly to the gnuplot window.

D.



_______________________________________________
Help-octave mailing list
Help-octave@...
https://www.cae.wisc.edu/mailman/listinfo/help-octave

Re: how to make ginput work?

by gabzz33 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I do confirm that i use windows binary package
So presently there is no solution at all if I understood well.
somebody knows if there is some devellopement on this part?
thank you anyway for the information
Gabriel

David Bateman-3 wrote:
Michael Goffioul wrote:
> If you're using the Windows binary package, then ginput is not
> working. There's currently no way to make it work.
>
In fact I'm not sure it works at all with Octave 3.0.0 at the moment
given all of the changes to the graphics code... However it should given
that its pure XLib code and interfaces directly to the gnuplot window.

D.



_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www.cae.wisc.edu/mailman/listinfo/help-octave

Re: how to make ginput work?

by Michael Goffioul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Mar 4, 2008 at 11:44 AM, gabzz33 <gabriel.micard@...> wrote:
>
>  I do confirm that i use windows binary package
>  So presently there is no solution at all if I understood well.
>  somebody knows if there is some devellopement on this part?

Not for the gnuplot-based backend. There's a lot of work in the
graphics area, using an OpenGL-based backend, and this will
provide a functional ginput in the end. But this takes time. So
yes, there's development on this part, but you might not have
a functional ginput before 3.1 (for sure) or 3.2 (maybe) releases.

Michael.
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www.cae.wisc.edu/mailman/listinfo/help-octave