Project

General

Profile

Bug #1216

plotxy bugs

Added by Sanchez del Rio, Manuel about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Start date:
26/01/2012
Due date:
% Done:

0%


Description

Dear Sanchez del Rio,

I think I found a couple of bugs in the 2011-12-09 release of shadow3.

I noticed that
a) the side histogram didn't look quite right (it's actually a repeat of the top histogram), and
b) I couldn't get the contour plots to work,
c) I also got a strange 'ghost image' when plotting the pixelized image.

I think that fixing b) also fixed c). :)

Attached is a patch that will fix these bugs.

I am running Debian Linux.
gfortran version 4.6.2
gcc version 4.6.2
gnuplot version 4.4 patchlevel 0

Let me know if you need any more info.

Thanks and Best Regards,
Anders Glans

ALS/Lawrence Berkeley Nat'l Lab.
1 Cyclotron Rd; Mail Stop 6R2100
Berkeley, CA 94720

shadow_postprocessors.patch

--- shadow_postprocessors_orig.f90 2012-01-25 12:07:49.000000000 -0800
++ shadow_postprocessors.f90 2012-01-25 12:15:35.000000000 -0800
@ -2371,6 +2371,7 @
3041 CONTINUE
Y1LOW = 0.0
Y1UPP = XMAX*1.1
ELSE IF (KKK.EQ.2) THEN
OPEN
XPLOT = X_ARRAY(1) - STEP/2
YPLOT = 0.0
@ -2481,6 +2482,7 @
WRITE') 'splot "plotxy_grid.dat" u 1:2:3 w pm3d '
WRITE') 'unset contour '
WRITE') 'set output '
+ WRITE') 'unset table '
END IF
WRITE') ' '
WRITE') ' '

History

#1 Updated by Sanchez del Rio, Manuel about 11 years ago

  • Status changed from New to Closed

patched applied in commit 2010-01-27

Also available in: Atom PDF