Re: [julia-users] how to get rid of axis in Plots ?

2016-09-22 Thread Roger Herikstad
I'll add when I have a couple minutes? I think the > plotlyjs backend does this by default though. > > On Thursday, September 22, 2016, Roger Herikstad <roger.h...@gmail.com > > wrote: > >> Hey, >> Similar question; how do I remove only the upper and right bo

[julia-users] Re: how to get rid of axis in Plots ?

2016-09-22 Thread Roger Herikstad
Hey, Similar question; how do I remove only the upper and right border? My personal preference is to only show the left and bottom border. In Winston, I'd do this p = Winston.plot([1,2,3],[3,4,5]) Winston.setattr(p.frame, "draw_axis", false) Thanks! On Wednesday, June 29, 2016 at 2:15:47

[julia-users] Re: FENS16

2016-07-05 Thread Roger Herikstad
Sorry the late reply, but I'm actually at FENS. I'm presenting a poster this afternoon (5th July; poster board F020), where the analysis was all done in Julia. Stop by if you're interested. On Sunday, July 3, 2016 at 2:39:09 AM UTC+2, Alexander Morley wrote: > > Hey, > > Are their any Julia

Re: [julia-users] Re: Sumatra

2016-01-05 Thread Roger Herikstad
I just came across Sumatra and I've been playing with it for a few weeks, using it to keep track of some Julia projects. Like Diego said, everything seems to work fine, except dependency tracking. I haven't actually looked into the find_dependency functions for other languages, but would it be

Re: [julia-users] Unable to add HDF5

2015-07-21 Thread Roger Herikstad
which went like a charm. Maybe try Pkg.update()? --Tim On Monday, July 20, 2015 10:36:25 PM Roger Herikstad wrote: Hi, For some reason I am unable to add HDF5. Not sure if this is related to the recent change splitting JLD off into its own package. This is the error I got ulia Pkg.add

Re: [julia-users] Unable to add HDF5

2015-07-21 Thread Roger Herikstad
Ah, of course. Thanks! It works now. Sorry for the noise. On Tue, Jul 21, 2015 at 6:51 PM, Tim Holy tim.h...@gmail.com wrote: You could try Pkg.rm(HDF5) and then delete the HDF5 directory in ~/.julia/.cache. --Tim On Tuesday, July 21, 2015 06:45:55 PM Roger Herikstad wrote: Hm, just

[julia-users] Unable to add HDF5

2015-07-20 Thread Roger Herikstad
Hi, For some reason I am unable to add HDF5. Not sure if this is related to the recent change splitting JLD off into its own package. This is the error I got ulia Pkg.add(HDF5) INFO: Updating cache of HDF5... ERROR: Missing package versions (possible metadata misconfiguration): HDF5

Re: [julia-users] Copy data given c pointer

2015-03-03 Thread Roger Herikstad
Woah, thanks a lot! Worked like a charm : ) On Tue, Mar 3, 2015 at 8:48 PM, Jameson Nash vtjn...@gmail.com wrote: bytestring(convert(Ptr{UInt8}, fevent.message + sizeof(UInt16)), unsafe_load(convert(Ptr{UInt16}, fevent.message))) On Tue, Mar 3, 2015 at 4:49 AM Roger Herikstad roger.heriks

[julia-users] Copy data given c pointer

2015-03-03 Thread Roger Herikstad
Dear group, I am trying to write an interface to a c library that reads data files in a particular format. One of the pieces of data I am trying to read is a string, encoded like this: typedef struct { INT16 len; char c; } LSTRING; This is

[julia-users] Re: building GUI on top of julia code

2015-02-07 Thread Roger Herikstad
I've used Winston and Tk for this kind of stuff. I have code for panning through an iterable using simple controls. The code is messy, but if it is of interest, you can find it here https://github.com/grero/Visualizer.jl On Saturday, February 7, 2015 at 2:07:23 PM UTC+8, Christoph Ortner

[julia-users] Hit test in Winston using Gtk

2014-10-05 Thread Roger Herikstad
Hi, I'm trying to implement a simple interface where I can click on points in a plot an get their (x,y) value. I was wondering how I can convert the (x,y) value returned by the Gtk mouse event to Winston data coordinates? I am using this function to get a PlotContext from the GtkCanvas

[julia-users] Re: Hit test in Winston using Gtk

2014-10-05 Thread Roger Herikstad
Hi, Thanks for the input. I actually started working on something like that; I was trying to figure out a way to get the limits of Winston's FramedPlot expressed in window coordinates, so that I can use that to do the transform. I guess this, bb = Winston.boundingbox(p.content1,cc) should

[julia-users] Gaussian process factor analysis

2014-07-08 Thread Roger Herikstad
I was wondering if anyone has done any work on Gaussian process factor analysis in julia? I'm interested in the techniques in this paper: 1. Yu, B. M. *et al.* Gaussian-process factor analysis for low-dimensional single-trial analysis of neural population activity. *Journal of Neurophysiology*

Re: [julia-users] Testing OpenGL

2014-07-07 Thread Roger Herikstad
On 7 Jul 2014, at 16:00, Simon Danisch wrote: @Roger Herikstad Do you get a warning, that you should install GLFW 3.0.4 instead of 2.x ? That would explain that error. Got it to work after installing GLFW 3.0.4 via homebrew and checking out the latest master of GLFW.jl I now see a white

[julia-users] Re: Testing OpenGL

2014-07-06 Thread Roger Herikstad
Hi, Running this on Mac OS X 10.9.3 I get: julia versioninfo() Julia Version 0.3.0-prerelease+3884 Commit 3e6a6c7* (2014-06-25 10:41 UTC) Platform Info: System: Darwin (x86_64-apple-darwin12.5.0) CPU: Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz WORD_SIZE: 64 BLAS: libgfortblas LAPACK:

[julia-users] Winston with GTK+3 on Mac OS X 10.9.2

2014-04-25 Thread Roger Herikstad
Hi, What is the recommended GTK+ to use with Winston? I installed GTK+3 using the following Homebrew recipe: require 'formula' class Gtkx3Quartz Formula homepage 'http://gtk.org/' url 'http://ftp.gnome.org/pub/gnome/sources/gtk+/3.8/gtk+-3.8.1.tar.xz' sha256

Re: [julia-users] Winston scatter plot

2014-03-06 Thread Roger Herikstad
. It gives me a decent speedup that is good enough for most of my use. If my solution seems OK to people, I can issue a pull request. https://github.com/grero/Winston.jl/commit/e63f7ef2137a6932143a0c53a2c8e65ecdebec7e On Sunday, March 2, 2014 9:47:13 AM UTC+8, Roger Herikstad wrote: Hi again, I

Re: [julia-users] Winston scatter plot

2014-03-06 Thread Roger Herikstad
Andreas, That's really thorough work and quite impressive results! I guess I'm still a bit curious why ddots4 takes so much longer than the other methods, but in any case, clearly ddots5 is the winner. Looking forward to testing out this code on my usage cases. On Fri, Mar 7, 2014 at 3:11 AM,

Re: [julia-users] Check for gui/console session (Mavericks)

2014-03-03 Thread Roger Herikstad
I tried that, but my scenario is that I'm logged into a machine via ssh. It would still be an interactive session, but there is no console on which to show any graphics. Regards, Roger Herikstad On 3 Mar, 2014, at 20:20, Tim Holy tim.h...@gmail.com wrote: There's a function `isinteractive

Re: [julia-users] Winston scatter plot

2014-03-01 Thread Roger Herikstad
timing experiments to quantify the difference. On Saturday, March 1, 2014 11:10:56 PM UTC+8, Andreas Lobinger wrote: Hello colleague, On Friday, February 28, 2014 6:59:13 AM UTC+1, Roger Herikstad wrote: Hi all, I tried to get a better understanding of Cairo drawing by implementing

Re: [julia-users] Winston scatter plot

2014-03-01 Thread Roger Herikstad
running some proper timing experiments to quantify the difference. On Saturday, March 1, 2014 11:10:56 PM UTC+8, Andreas Lobinger wrote: Hello colleague, On Friday, February 28, 2014 6:59:13 AM UTC+1, Roger Herikstad wrote: Hi all, I tried to get a better understanding of Cairo drawing

Re: [julia-users] Winston scatter plot

2014-02-27 Thread Roger Herikstad
Nolta wrote: Thanks Roger! I'll give this a try. -Mike On Wed, Feb 12, 2014 at 11:57 PM, Roger Herikstad roger.h...@gmail.com javascript: wrote: Hi, I'm enjoying the ease with which Winston allows me to create beautiful plots. However, I often have the need to create scatter plots

[julia-users] wildcard characters in shell commands

2014-02-19 Thread Roger Herikstad
Hi, I'm a bit surprised that this doesn't work _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type help() to list help topics | | | | | | |/ _` | | | | |_| | | | (_| | | Version

[julia-users] Re: wildcard characters in shell commands

2014-02-19 Thread Roger Herikstad
, and not ls. Ivar kl. 11:27:22 UTC+1 onsdag 19. februar 2014 skrev Roger Herikstad følgende: Hi, I'm a bit surprised that this doesn't work _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org

Re: [julia-users] wildcard characters in shell commands

2014-02-19 Thread Roger Herikstad
(*.txt)) Cheers, Kevin On Wednesday, February 19, 2014, Roger Herikstad roger.heriks...@gmail.com wrote: Hi, I'm a bit surprised that this doesn't work _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_)| Documentation: http://docs.julialang.org

[julia-users] Winston scatter plot

2014-02-12 Thread Roger Herikstad
Hi, I'm enjoying the ease with which Winston allows me to create beautiful plots. However, I often have the need to create scatter plots consisting of ~1e5 points. This is currently too slow, and for those situations I resort to Matlab using the excellent Matlab.jl

[julia-users] Ignoring NaNs

2014-02-05 Thread Roger Herikstad
Hi, Are there equivalent functions to Matlab's nanmean and nanstd, i.e. functions for computing mean and standard deviation while ignoring NaN's? It's simple to put something together, of course, e.g. function nanmean(x) mean(~isnan(x)) end but it would nice to have as part of Base, or