[julia-users] String printout in REPL vs println()

2016-09-26 Thread MLicer
Dear all, REPL prints strings enclosed in double quotation marks, like so: ".0" Is there any reason why println() in a script prints strings *without* double quotation marks, like so: .0 , where .0 is actually ".0"? I just spent a good deal of time debugging my code due to t

[julia-users] Julia NetCDF usage of subsetting with start and count

2016-09-16 Thread MLicer
Dear all, i am trying to read *one* *specific* elevation [Lat x Lon x Time] timestep in a large NetCDF file using Julia NetCDF. I've tried the syntax (along with many variations to the theme): timestep = 17 el=ncread(fname,"elevation",start=[1,1,timestep], count=[-1, -1, 1]) which returns the

[julia-users] Vector Field operators (gradient, divergence, curl) in Julia

2016-09-13 Thread MLicer
Dear all, i am wondering if there exists Julia N-dimensional equivalents to Numpy vector field operators like gradient, divergence and curl, for example: np.gradient(x) Thanks so much, Cheers!

[julia-users] Re: Julia Low Pass Filter much slower than identical code in Python ??

2016-09-12 Thread MLicer
//docs.julialang.org/en/latest/manual/performance-tips/#measure-performance-with-time-and-pay-attention-to-memory-allocation> > > for a more in depth explanation. > > Am Montag, 12. September 2016 11:53:01 UTC+2 schrieb MLicer: >> >> Dear all, >> >> i've

[julia-users] Re: PyPlot x(y)tick label fontsize

2016-09-12 Thread MLicer
Excellent! Thanks so much! On Friday, September 9, 2016 at 5:45:26 PM UTC+2, Ralph Smith wrote: > > ax[:tick_params]("both",labelsize=24) > > See http://matplotlib.org/api/pyplot_api.html > for related functions and arguments. >

[julia-users] PyPlot x(y)tick label fontsize

2016-09-09 Thread MLicer
Dear all, i am using PyPlot for a simple sine plot and i am trying to increase the fontsize of x(y) *tick* labels (*not* x(y) *axis* labes). The following code... using PyPlot # generate data: x = 0:0.01:30 sin_noise(arr) = sin(arr) + rand(length(arr)) # Create a figure fig = figure("pyp