From: Pau <vim...@go...> - 2011-07-14 20:19:31
|
my problem was fixed with this var = float(sys.argv[1]) thanks! On 14 July 2011 16:24, Benjamin Root <ben...@ou...> wrote: > On Thursday, July 14, 2011, Pau <vim...@go...> wrote: >> Hi, >> >> I have a very naive question ... howmdo I pass an arg to a matplotlib >> script? I need to run MyScript 34 12 67 25 for the script to use those >> numbers to multiply quantities for producing a plot... I am using >> sysarg[1], 2, 3 but is seems not to work. >> >> thanks >> > > Could you attach your script so that we can see if there is a mistake > of some sort. > > Ben Root > |