|
From: Ethan A M. <merritt@u.washington.edu> - 2006-11-25 04:11:48
|
SECOND RELEASE CANDIDATE FOR GNUPLOT VERSION 4.2 ================================================ We are delighted to announce the availability of the second release candidate for gnuplot version 4.2, in the form of a source file tarball. 4.2-rc2 is available initially as source only; pre-compiled binaries for selected platforms will follow. Volunteers to produce such binaries would be very welcome. You may download 4.2-rc2 from the gnuplot development site on SourceForge. http://sourceforge.net/project/showfiles.php?group_id=2055 Installation ------------ Installation instructions are available in the source itself; the short version for linux/unix-like systems is to unpack the tarball and then build it: cd gnuplot-4.2.rc2 ; ./configure ; make test it: make check install it: make install Short list of fixes since 4.2-rc1 --------------------------------- - various platform-specific fixes for configuration and compile problems - clip arrows to boundary of 3D plots - fixed gamma correction of image plots in postscript - fix color-handling in fig terminal - pass UTF-8 character sequences through to svg and png output - fixed logic error in initializing rotation matrices for binary data - do a better job of skipping gracefully over empty or missing data files - do not segfault on entry if the x11 external driver is not found - more consistent implementation of "-persist" option - do not allow 'set view map' to affect placement of rectangles in 2D plots - Fix off-by-one error in defining PNG line widths - thanks, Mike! - Fix errors in size specification for pdf terminal - Remove several spurious warning messages emitted at run-time Remaining issues (may or may not be resolved before official 4.2 release) ------------------------------------------------------------------------- - Installation of the new wxt terminal under OSX is problematic - Ongoing discussion of last-minute changes to the syntax of new options + array specifications for 'with image' + additional modifiers for the 'set term <foo> size XX,YY' command - Known bugs (no fix yet) in handling reversed axes in some plot types - Behaviour of 'set size <foo>; set term png size <baz>' is different for the png/jpeg/gif terminal compared to all other terminal types. + Change it? (breaks backwards compatibility with old scripts) + Leave it, but issue a warning whenever it would make a difference? + Add new build option, run option, or keyword? Version 4.2 ----------- This version has been under development since the release of version 4.0 in April 2004. You have probably seen frequent mention of it here as "the development version" or "version 4.1" or "the cvs version". 4.2 contains a ton of new features and several new terminal drivers. For a complete list, see the NEWS file that comes with the program. Some major additions include * new 2D plot styles 'histogram' 'labels' 'image' 'rgbimage' * new 3D plot styles 'labels' 'vectors' * user control over color definitions and color choices * improved font handling and text formatting * text strings can be read and manipulated as normal data * new syntax to handle string variables and string functions * creation of animated gif sequences Demo plots illustrating these and other features are online at http://gnuplot.sourceforge.net/demo_4.2/ We encourage everybody with a vested interest in gnuplot to get this new version and give it a test ride. In other words, we're calling for a beta-test by the broader public. That means you. In order to assure that the quality of the upcoming full release is as high as practical, it is important that as many of you as possible test this release candidate in your own ways, and check that it doesn't break spectacularly. If there's a bug in it that makes this version unusable, we'd like to hear about it _now_, rather than 3 hours after we release an official version 4.2 to the general public. Please report all bugs and installation problems to the bug tracker on SourceForge: http://sourceforge.net/tracker/?group_id=2055&atid=102055 Thanks in advance, and have fun with it! - the gnuplot development team -- Ethan A Merritt sf...@us... |
|
From: Daniel F. <boy...@gm...> - 2006-11-26 20:32:33
|
Hello, I want to understanding how gnuplot calculates xtic for a given range e.g. plot x set xrange [0:100] replot will place tic marks at 0, 20, 40, 60, 80 and 100. Where is this calculated in the code? How does gnuplot calculate the step size between tic marks? I have worked on my own algorithm for xtics position for a given range and it works well. However it required the user to input the step size between tic marks. e.g. plotting x from 0 to 100 the user would have to specify the tic separation was 20. Regards, Daniel. |
|
From: <HBB...@t-...> - 2006-11-26 21:36:45
|
Daniel Farrell wrote: > Where is this calculated in the code? src/axis.c: gen_tics and make_tics() > How does gnuplot calculate the step size between tic marks? Compute the length of the axis, find a tic size from the usual 1/2/5 times power-of-ten series that will create a "useful" number of tics (between 5 and 10) on that range. Variations of this scheme are needed for logarithmic and time/date scales. |
|
From: Daniel F. <boy...@gm...> - 2006-11-27 01:24:33
|
Hi, Thanks for the pointers. I have it all working now. I have made an algorithm that 'links' x1 and x2 axis via a equation =20 (it actually just automate the set x2tics(...) function once the x1 =20 and a transformation equation are known.). It would be nice to =20 integrate my work with the gnuplot source when. However, I will now =20 have to learn about how gnuplot interprets equation; so that the user =20= can link the axes, my code needs to be more general. I'll post again about this subject after I've had a chance to read =20 some more source. Cheers, Daniel. On 26 Nov 2006, at 21:36, Hans-Bernhard Br=F6ker wrote: > Daniel Farrell wrote: > >> Where is this calculated in the code? > > src/axis.c: gen_tics and make_tics() > >> How does gnuplot calculate the step size between tic marks? > > Compute the length of the axis, find a tic size from the usual =20 > 1/2/5 times power-of-ten series that will create a "useful" number =20 > of tics (between 5 and 10) on that range. Variations of this =20 > scheme are needed for logarithmic and time/date scales. > > |
|
From: Daniel F. <boy...@gm...> - 2006-11-27 13:58:18
|
Hi Daniel,
The algorithm is external to all gnuplot source code at the moment.
I don't really know where to start in term of integrating it to the
project?
I have notices that 'linking' axes is on the 'todo' list, how can I
get involved?
I guess the command could be:
link {<known axis><linked axes>} {<equation string>}
e.g.
plot 'data.txt' using 1:2 with lines link x1x2 '$1*10'
i.e. if x1 = 0,1,2,3,4,5
x2 = 0,10,20,30,40,50
Regards,
Dan
On 27 Nov 2006, at 11:25, Daniel J Sebald wrote:
> sourceforge web site to maintain your algorithm.
|
|
From: Petr M. <mi...@ph...> - 2006-11-27 19:43:40
|
> I guess the command could be:
> link {<known axis><linked axes>} {<equation string>}
I think it should be
set x2range mapping 10*x+1
Have a look to the archive of this conference, I think it was discussed some
time in the past.
---
PM
|
|
From: <HBB...@t-...> - 2006-11-27 21:38:02
|
Daniel Farrell wrote:
> I have notices that 'linking' axes is on the 'todo' list, how can I
> get involved?
Do it, post the patch on the tracker, and watch the show.
> I guess the command could be:
> link {<known axis><linked axes>} {<equation string>}
No new top-level command please. Make it a new option to 'set xtics'
instead.
As to the evaluation engine: look up the function "evaluate_at", and its
supporting machinery in eval.c, internal.c, specfun.c and some others.
|