Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

set cntrlabel: unrecognized option

782 views
Skip to first unread message

seneika

unread,
Feb 25, 2014, 5:38:38 PM2/25/14
to
Hi there.

I'm trying to use cntrlabel but gnuplot throws me the error
message of unrecognized option.

In the demo script linked below, it says gnuplot 4.7 patchlevel
0. I couldn't find information saying that this option is new,
being available only since version 4.7, but it seems to be the
case:

http://gnuplot.sourceforge.net/demo_svg_4.7/contours.html

I'd like a confirmation for this.

I'm using gnuplot 4.6 but I also tried 4.7 patchlevel 0 available in the
link below and, even though gnuplot --version returns the correct
version number, gnuplot will also not recognize cntrlabel:

http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/

I couldn't find any other precompiled packages for either lin
or win so I'm not sure this option should be working

Any suggestions or clarifications will be much appreciated.

Thanks.

seneika

unread,
Feb 26, 2014, 2:27:54 PM2/26/14
to
Ok,

I compiled gnuplot from GitHub* and it recognizes cntrlabel now
(as it is declared in the places they say in the changelog**)

Now I think I must only compile it again with the appropriate options on,
because it did not render the plots very well (I'm not a professional
programmer and I only followed the instructions in config/msvc/Makefile).
The labels in the contours are superposed by an x mark, for instance (I'm
running the demo scripts for version 4.7***)

BTW, I'd like to thank people for that msvc makefile!


Thanks, and I'm still open to help to get it working properly with the
contour labeling.


* https://github.com/gnuplot/gnuplot
** https://github.com/gnuplot/gnuplot/blob/master/ChangeLog
*** http://gnuplot.sourceforge.net/demo_4.7/contours.html

seneika

unread,
Feb 26, 2014, 5:04:01 PM2/26/14
to
Ok, sorry for my stupidity in my last post.

I now know what is the "x mark" I was talking about. I had not
understood how the contour labels are created and I had overlooked
the 2-step plotting for contours wih labels.


someswar...@gmail.com

unread,
May 8, 2014, 2:22:15 PM5/8/14
to
Hi...Seneika. I am also facing the same problem as u already faced. Can you please send me the link for gnuplot 4.7 download, for both lin and win? also i would ask you to post a contour plot script and fig with cntrlabel used for the contour labeling.

Ethan A Merritt

unread,
May 8, 2014, 4:46:34 PM5/8/14
to
I have not yet see the post you are replying to, but the following
demo is probably relevant

http://gnuplot.sourceforge.net/demo_cvs/contours.html

seneika

unread,
May 8, 2014, 5:15:00 PM5/8/14
to
Hi,

Just to recall, I ended compiling Gnuplot from the sources using
the makefile they provide (for which I can't thank them enough).
I compiled in Windows using MSVC without problems. It works
a treat, you just need to get the dependencies right.

At that time, 4.7 was the current version here

https://github.com/gnuplot/gnuplot

If you have access to my original post, pay attention to where I
say that the binaries for version 4.7 being provided here

http://www.tatsuromatsuoka.com/gnuplot/Eng/winbin/

would return the correct version number when you type
gnuplot --version but the cntrlabel option would still be unrecognized.

Maybe you should try downloading the binaries now. If it doesn't
work well, just compile it yourself. It is actually very quick. Look at
the subdirectory config/msvc/Makefile if you are going to compile for
Windows. The instructions are very clear and helpful.

HTH,
Seneika.
0 new messages