[fluka-discuss]: RE: Flair v 2.1-4 Plotting Error

From: Anton Lechner <Anton.Lechner_at_cern.ch>
Date: Mon, 11 May 2015 05:23:57 +0000

Dear Dirk,

This was indeed a small bug. It is now fixed and a new Flair version (2.1-5) is available on the web.

(thanks to Vasilis for his prompt bug fix)

Cheers, Anton



________________________________
From: owner-fluka-discuss_at_mi.infn.it [owner-fluka-discuss_at_mi.infn.it] on behalf of Bartkoski,Dirk Alan [DABartkoski_at_mdanderson.org]
Sent: 08 May 2015 20:20
To: fluka-discuss_at_fluka.org
Subject: [fluka-discuss]: Flair v 2.1-4 Plotting Error

There seems to be an issue with the new version of Flair 2.1-4 plotting. It gives an error any time I try to plot a geometry over my data plot. The error line is

line 0: Need 1 or 3 columns for cartesian data

It seems to be referring to a change in the gnuplot command for the geometry addition. For example the Flair gnuplot line issued is

splot 'Full_XZ_100_MeV_35cm.dat' us 2:1:(($3)*37864.4) notitle, 'Full_XZ_100MeV_35cm.geo.dat' ind 0 us 3:5 w l ls 1 notit
                                                                                                                                                                                                                             ^
the issue seems to be that Flair is trying to use splot without the third column designator. Looking at the SVN revision history it appears to have been changed in the following lines

if self.engine.version() > 4.2:
                plotgeo = ",'%s.dat' ind 0 us %d:%d w l ls 1 notit" \
                                % (name, u1, u2)
else:
                plotgeo = ",'%s.dat' ind 0 us %d:%d:(1E99) w l ls 1 notit" \
                                % (name, u1, u2)

I have gnuplot 4.6 but splot is still looking for 3 column entries.
________________________________
Dirk A. Bartkoski, Ph.D.
Postdoctoral Fellow | Radiation Physics
[MDACC Logo]
Mays Clinic (ACBP1.2972.1)
1515 Holcombe Blvd., Unit 1202
Houston, TX 77030
(713) 745-8124 Office | (865) 310-7349 Mobile
dabartkoski_at_mdanderson.org<mailto:dabartkoski_at_mdanderson.org>





__________________________________________________________________________
You can manage unsubscription from this mailing list at https://www.fluka.org/fluka.php?id=acc_info

image001.png
(image/png attachment: image001.png)

Received on Mon May 11 2015 - 09:16:05 CEST

This archive was generated by hypermail 2.3.0 : Mon May 11 2015 - 09:16:06 CEST