clabel

Kai Habel kai.habel at gmx.de
Fri Jul 25 14:16:29 CDT 2008


Labitt, Bruce schrieb:
> From: bpabbott at mac.com [mailto:bpabbott at mac.com] 
> Sent: Thursday, July 24, 2008 9:03 PM
>
> On Jul 22, 2008, at 4:53 PM, Labitt, Bruce wrote:
>
>   
>> I need the ability to generate contour plots with labeled contours.
>>     
>>> From my search on octaveforge, I have found that the "function"  
>>> clabel
>>>       
>> is not implemented.  Can I request for this to be added?  I am  
>> prepared
>> for the comment "why don't you implement it?"
>>
>> What would it take to implement this feature?  Is it just "code" to be
>> implemented, or does it require an intimate knowledge of the guts of
>> octave?  If it is just "code" then if someone could point me in the
>> right direction, I will take a look at it.  If it is the later,  
>> well, I
>> guess I'd like to formally request the feature.  At this point I can't
>> even get octave to find libpcre despite adding it to LDFLAGS. :(
>>
>> Regards,
>> Bruce
>>     
>
>
> I've only taken a glance, but it appears to me that the labels can be  
> added without intimate knowledge of the guts of Octave.
>
> You might begin by looking at contour.m and __contour__.m
>
> Regarding your problems building, what OS are you using? and exactly  
> what was the syntax you used to configure Octave?
>
> Ben
>
> [Labitt, Bruce] Thanks for the tip on contour.  I'll take a look at it.
>
> I think I have solved the build problem.  Although I had LDFLAGS
> pointing to the correct directory, ld could not find the libraries.  I
> had to add a file to /etc/ld.so.conf/ to get ld to be able to find
> lpcre.  Then the linker could not find libfftw3 so I had to add a
> LD_LIBRARY_PATH statement to tell it an additional place to look.  I
> don't know why it was so painful - but it is done.  My OS is Scientific
> Linux 5.2, a RHEL clone.  The OS was a fresh install rather than an
> incremental upgrade.
>
> Regards,
> Bruce
>
>
> _______________________________________________
> Help-octave mailing list
> Help-octave at octave.org
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>   
Hello,

I have written a clabel for octplot some time ago. It might be a good 
starting point or give some ideas.

Kai

http://octplot.svn.sourceforge.net/viewvc/octplot/trunk/octplot/high_level/clabel.m?revision=446


More information about the Help-octave mailing list