On Tue, Aug 25, 2009 at 01:29:52PM +0200, Werner Smekal wrote: > Hi Andrew, > >> I'm still interested in the c++ and f77 differences. I do not see >> these on either a 32-bit or 64-bit Ubuntu system. What are the >> differences, either visually or in terms of diffing the postscript >> files? > > I still get differences for the f77 tests. I had a quick look and > obviously in examples 9 this code (line 91-) > > call pl_setcontlabelformat(4,3) > call pl_setcontlabelparam(0.006d0, 0.3d0, 0.1d0, 1) > call plenv(-1.0d0, 1.0d0, -1.0d0, 1.0d0, 0, 0) > call plcol0(2) > call plcont(z,xdim,ydim,1,nptsx,1,nptsy,clevel,11) > call plstyl(1,1500,1500) > call plcol0(3) > call plcont(w,xdim,ydim,1,nptsx,1,nptsy,clevel,11) > call plstyl(0,1500,1500) > call plcol0(1) > call pllab('X Coordinate', 'Y Coordinate', > & 'Streamlines of flow') > call pl_setcontlabelparam(0.006d0, 0.3d0, 0.1d0, 0) > > doesn't do the plot. Similar code is used in example 14 where the plot > also doesn't appear. I attached the postscript output of example 9 and > 14 (2nd stream) to this mail. I don't see any obvious problems in the > code and my f77 experience is also not that good, so I hope, that you'll > find something. > > Regards, > Werner
Werner, >From what you have said this looks like a problem with the plcont routine. This uses a common block to share the transform data between plplot and the user code. From what is being plotted I think this is not being properly shared. There is some comment magic to import / export this for some compilers. Can you confirm which fortran compiler you are using? Do you have any idea if there are any special pragmas required for exporting common blocks on this compiler? This is all a bit of a kludge to fix up for not using function pointers in fortran. In fact we've now worked out how to do this properly (see e.g example 19 with mapform). How do people feel about fixing the pltr functions properly for fortran? This probably requires working out what to do with PLPointer data. It would be nice if we could get all languages working the same. Andrew ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel