help-octave
[Top][All Lists]
Advanced

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

Re: datacursor for Octave 5.2.0(Windows)


From: Markus Mützel
Subject: Re: datacursor for Octave 5.2.0(Windows)
Date: Thu, 23 Apr 2020 20:02:32 +0200

Am 23. April 2020 um 18:56 Uhr schrieb "Debajyoti Datta":
> On Thu, Apr 23, 2020, 4:31 PM "Markus Mützel" wrote:
> > Am 23. April 2020 um 11:34 Uhr schrieb "Debajyoti Datta":
> > > I am using qt toolkit.
> > > 
> > >  I have copied the .m files in C:\Octave\Octave-5.2.0\ ....is this  the 
> > > correct location ?? Tried closing octave and opening again also.
> > > 
> > > Thanks.
> >
> > Please, keep the mailing list in CC.
> > 
> > It should be working with the "qt" graphics toolkit.
> > 
> > Any function you want to execute must either be in the current working 
> > directory or in Octave's search path. See the documentation of "path" and 
> > "addpath".
> > AFAIK, the Octave installation root path is not in Octave's default search 
> > path (and I'd advice against adding that specific path).
> 
> Hi Markus,
>  
>  I have tried with adding the datacursor patch folder in current working 
> directory and also in the default directory(which shows up with 
> value=pathdef() command) . No luck so far. I would requst you to be little 
> more specific as I am relatively new to programming.
>  
> Thanks

I still don't know what you mean by "datacursor patch folder". The one I found 
is just one single .m file...

The current working directory is the directory that is displayed in the top 
toolbar in the Octave GUI. It is also returned if you execute "pwd" at the 
Octave "Command Window". You could move the function you want to execute to 
that directory.
Alternatively, you could add the path where the function is stored to Octave's 
search path. Assuming the file is stored in the folder "C:\My_Octave_Files", 
execute the following at the Octave "Command Window":
addpath ('C:\My_Octave_Files')

After that, call the function like any other. E.g.:
plot(1:10);
datacursor()


HTH,
Markus



reply via email to

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