[julia-users] row vector from array in 0.5.0

2016-09-26 Thread Ferran Mazzanti
Hi, just installed 0.5.0 and have noticed something I seem to remember was discussed here a few times, but can't remember exactly what it was. I'm wondering what is now the best way to get a row vector from an array. I ask because I have something of the form X = [[1,1,1] [1,-1,-1]] but then

Re: [julia-users] row vector from array in 0.5.0

2016-09-27 Thread Ferran Mazzanti
Oh, thanks... On Monday, September 26, 2016 at 3:57:50 PM UTC+2, Yichao Yu wrote: > > On Mon, Sep 26, 2016 at 9:49 AM, Ferran Mazzanti > > wrote: > > Hi, > > > > just installed 0.5.0 and have noticed something I seem to remember was > > discussed here a f

[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-09-28 Thread Ferran Mazzanti
not clean. Thanks a lot, Ferran. On Thursday, August 18, 2016 at 10:47:27 AM UTC+2, Ferran Mazzanti wrote: > > Dear all, > > looks like lots of messing around with versions had rendered PyPlot > unusable in 0.4.6 under OSX (at least). > Now I need to do some work that requires

[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-09-29 Thread Ferran Mazzanti
Nobody is using PyPlot under OSX, please? Best, Ferran. On Wednesday, September 28, 2016 at 10:35:58 AM UTC+2, Ferran Mazzanti wrote: > > Hi, > > it seems that PyPlot is still broken in 0.5.0 and OSX, at least > Mavericks... Anybody else has faced this problem? If yes, how can I

[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-10-08 Thread Ferran Mazzanti
a and then reinstalled julia 0.5.0 and PyPlot and that worked out well again :) Thanks for your kind help, Ferran. On Thursday, August 18, 2016 at 10:47:27 AM UTC+2, Ferran Mazzanti wrote: > > Dear all, > > looks like lots of messing around with versions had rendered PyPlot > unusable in

[julia-users] Plots.jl: layout of several plots, with more than one curve per plot

2016-11-08 Thread Ferran Mazzanti
Hi, I'm gathering interest in Plots.jl in order to make complex plotting structures. Just as an example, I have a set of data (called y) and some operations performed on it, stored in arrays of obvious names y2, logy, expy etc... I have managed to create something that displays one curve per p

[julia-users] Re: Plots.jl: layout of several plots, with more than one curve per plot

2016-11-08 Thread Ferran Mazzanti
book up > for you to have a look at here: > https://gist.github.com/swt30/54701d09cfa479dab78a5bc2fa857fd7 > > Cheers, > Scott > > On Tuesday, 8 November 2016 09:20:39 UTC, Ferran Mazzanti wrote: > >> Hi, >> >> I'm gathering interest in Plots.jl in

Re: [julia-users] Re: Plots.jl: layout of several plots, with more than one curve per plot

2016-11-11 Thread Ferran Mazzanti
Sorry for sneaking in again, but I have tried to extrapolate the examples in the notebook (thanks again Scott) to include a fifth plot below (that is, to get the same structure but with an additional plot at the bottom, spanning the whole width and a smaller height) and fail. I can get it to wo

Re: [julia-users] Plots.jl: layout of several plots, with more than one curve per plot

2016-11-14 Thread Ferran Mazzanti
hings work well... So shall I understand there is some sort of bug in the codem, then? Best, Ferran. On Friday, November 11, 2016 at 12:10:02 PM UTC+1, Tom Breloff wrote: > > "@layout [a grid(2,2); b]" should work > > On Friday, November 11, 2016, Ferran Mazzanti > wrot

Re: [julia-users] Plots.jl: layout of several plots, with more than one curve per plot

2016-11-14 Thread Ferran Mazzanti
It is a minor variation of the example given by Scott for some data set y, cosy, y2, sqrty, siny, logy (doesn't matter the values, could be random) plot_1 = plot([y cosy], title = "Data y", xlims = (0,10), ylims = (-0.1,1.1), grid = true, xlabel = "Iteration", ylabel

Re: [julia-users] Plots.jl: layout of several plots, with more than one curve per plot

2016-11-15 Thread Ferran Mazzanti
mmand only >>> supplies 5. When I run your example (on the development branch of Plots) I >>> get an error because of that. Have you tried the dev branch? >>> `Pkg.checkout("Plots, "dev")`, restart julia and re-run it. >>> >>> Scott >>> &g

Re: [julia-users] Plots.jl: layout of several plots, with more than one curve per plot

2016-11-16 Thread Ferran Mazzanti
That's not the point but it doesn't really matter :) On Tuesday, November 15, 2016 at 12:41:54 PM UTC+1, Tom Breloff wrote: > > Serious "give a mouse a cookie syndrome". You can do what you want by > calling 'plot_6 = deepcopy(plot_5)' first. > > O

[julia-users] Use of special characters in labels of plots.jl

2016-11-16 Thread Ferran Mazzanti
Hi again, I'm trying to use plots.jl for final plots ready for publication in scientific papers, and I was wondering what is the easiest way to write special strings in labels of plots. For instance, what LaTeX would render in $10^{-10}$, or include Angstrom symbols, or subscripts as in $W_{ij}

[julia-users] Use of special characters in labels of plots.jl

2016-11-16 Thread Ferran Mazzanti
...and please notice that I'm not looking for explicit LaTeX suppport. Just wanted to know if there is any way to add special characters and subscripts etc. Thanks again, Ferran.

[julia-users] Re: [Announcement] Moving to Discourse

2016-11-21 Thread Ferran Mazzanti
One thing that is not particular from discourse but that also affects it... It turns out that I read most of the posts from my ipad, and my eyes are not the ones that used to be. So I like to zoom in, as I was doing with google groups. Apparently, this can't be done in discourse (as in many oth

[julia-users] PyPlot : one plot after the other and not simultaneously

2015-04-25 Thread Ferran Mazzanti
Hi folks, I'm new to Julia (but not to Python) and can't find he right way to use PyPlot as I do in Python. In short, I have a program that should display a plot, wait for the user to close the plot, then show a second plot and g on running. But it is not doing that: it just merges the two plot

[julia-users] Re: PyPlot : one plot after the other and not simultaneously

2015-04-25 Thread Ferran Mazzanti
Surpsisingly that didn't work either, but shows a strange ehaviour instead: three figure frames (figure boxes) are opened: figure 1 has once again both plots merged, while figures 2 and 3 show the canvas with nothin (fig.3) and the canvas with the axes (fig.2), but the plots themselves are merge

[julia-users] Re: PyPlot : one plot after the other and not simultaneously

2015-04-26 Thread Ferran Mazzanti
PyPlot.plot(x,y2,color="blue",marker="*",linestyle="dashed") PyPlot.show() ...so the key was the PyPlot.ioff() really. Thanks Steven and thanks toyou guys who provided help also :) On Sunday, April 26, 2015 at 3:57:36 AM UTC+2, Steven G. Johnson wrote: >

[julia-users] Using Winston in Julia 0.3.9

2015-06-23 Thread Ferran Mazzanti
Hi folks, I'm experiencing problems trying to use Winston under Julia 0.3.9 in my Linux machine. I just grabbed from the internet an exemple that should work, something like the code I paste at the end of the post. This is similar to somthing simpler I tried to use, to no avail. The problem come

[julia-users] Re: Using Winston in Julia 0.3.9

2015-06-24 Thread Ferran Mazzanti
23, 2015 at 12:24:18 PM UTC+2, Ferran Mazzanti wrote: >> >> Hi folks, >> I'm experiencing problems trying to use Winston under Julia 0.3.9 in my >> Linux machine. I just grabbed from the internet an exemple that >> should work, something like the code I paste at

[julia-users] Printf() of a variable number of arguments

2015-07-06 Thread Ferran Mazzanti
Hi, I have a simple question: is it possible to feed printf() a list with a variable number of arguments? Specifically I want to print a formatted list of numbers contained in an arrary, but I can't tell in advance how many elements does the array contain. Is there an easy way to do that, or sho

Re: [julia-users] Printf() of a variable number of arguments

2015-07-13 Thread Ferran Mazzanti
Thanks for the info. Actually my question comes from old fortran style, where I can write something of the form Write(1,'1000f12.6') a where a is an array. The string inside the write function says I can print 1000 doubkes in 12 characters with 6 decimals. So the string is a constant literal, an

Re: [julia-users] Printf() of a variable number of arguments

2015-07-14 Thread Ferran Mazzanti
julia> a = 1e5*rand(1000) > julia> for i in a >@printf("%12.6f\n", i) >end > 74708.038385 > 71244.774457 > 5057.229038 > 3761.297034 > ... > > Remember that loops are fast in Julia... > > Kaj > > > > On Tuesday,

[julia-users] How to make (sort of) pointers to an array subsection ?

2015-07-15 Thread Ferran Mazzanti
Hi folks, I have a little mess with the way arrays are being handled in Julia. I come from C and fortran95 and I know I can do the following things there using pointers: imagine I have a big array A. Then I can use pointers to define W a subsection of A, such that if I modify W then A is modifi

[julia-users] Re: How to make (sort of) pointers to an array subsection ?

2015-07-15 Thread Ferran Mazzanti
, Ferran Mazzanti wrote: > > Hi folks, > > I have a little mess with the way arrays are being handled in Julia. I > come from C and fortran95 and I know I can do the following things there > using pointers: imagine I have a big array A. Then I can use pointers to > define W a

[julia-users] Declare user-defined type variable but *not* initialize it

2015-09-04 Thread Ferran Mazzanti
Dear all, I was wonder if it is possible to do in Julia what I can do in other languages, such as define a user type, as for instance type Point x::Float64 y::Float64 end and then define a new varible of that type, but do not initialize it, as in z::Point which obviously doesn't work (unle

[julia-users] Re: Declare user-defined type variable but *not* initialize it

2015-09-05 Thread Ferran Mazzanti
want to define outer > constructors. > > By the way, you can always give an arbitrary initial value to Point, and > then do what you like. I think this is the most economical way for you. > > > > > > On Friday, September 4, 2015 at 6:49:47 PM UTC+2, Ferran Mazzanti wr

[julia-users] product of vectors and matrix elements

2015-09-10 Thread Ferran Mazzanti
Hi folks, this is probably very easy to do, but probably there are optimal ways to do it that escape me. What I would like to do is the following kind of operation: suppose I have a set of 3-element vectors labelled r1, r2,...,rN, and a set of matrices M1, M2,...,MN. FOr the sake of simplicity

[julia-users] @sprintf with a format string

2015-09-21 Thread Ferran Mazzanti
Dear all, I could use some help here, because I can't believe I'm not able to easily print formatted numbers under Julia in a easy way. What I try to do is to write a function that, given a vector, prints all its components with a user-defined format. I was trying something of the form functio

[julia-users] Re: @sprintf with a format string

2015-09-22 Thread Ferran Mazzanti
d use, but come on... printing number os definitely not one of those. Just my 2cents :) On Monday, September 21, 2015 at 10:52:52 AM UTC+2, Michael Hatherly wrote: > > https://github.com/JuliaLang/Formatting.jl might help. > > — Mike > ​ > On Monday, 21 September 2015 10:46:31

[julia-users] Can't install Cairo, Winston, IJulia... on OSX

2015-09-25 Thread Ferran Mazzanti
Hi folks, I start to learn how painful thinks can get when you miss different things from different packages... I feel somehow miserable. I try to install Winston, which needs Cairo, etc... on my OSX Yosemite box. When I issue Pkg.add("Winston") for exemple I get the following: INFO: Installing

[julia-users] IJulia notebook porting from one kernel to another

2015-10-18 Thread Ferran Mazzanti
Hi folks, this is an IJulia related question: I have updated to Julia 0.4.0 and now *some* of my old IJulia notebooks do not load properly anymore -when I try to load them, IJulia complains stating that t can not find the proper Julia kernel for it. And then it loads the file, but converts it t

[julia-users] Re: IJulia notebook porting from one kernel to another

2015-10-18 Thread Ferran Mazzanti
wrote: > > Hi Ferran, > > I upgraded to Jupyter notebooks before doing the switch to 0.4, and I > haven't had any issue, except that Shift+Tab no longer works... > > On Sunday, October 18, 2015 at 8:09:08 AM UTC-4, Ferran Mazzanti wrote: >> >> >> a) Are IJu

[julia-users] Re: IJulia notebook porting from one kernel to another

2015-10-18 Thread Ferran Mazzanti
...but that's *exactly* the problem: with my old notebooks, for which I do not have the (old) kernel installed anymore, IJulia refuses to open it properly complaining that I can not find the right kernel, and opens it in *kind of* text mode. So no, I wish i could do that, but it is not working.

[julia-users] PyPlot histogram does not work (for me at least) in 0.4.0 (?)

2015-10-26 Thread Ferran Mazzanti
Hi folks, using Linux Mint 17.1 here. I upgraded to julia 0.4.0 and now this simple code, taken from the web and tested on previous versions, using PyPlot x = randn(1000) # Values nbins = 50 # Number of bins fig = figure("pyplot_histogram",figsize=(6,6)) # Not strictly required ax = axes() # N

[julia-users] Please help me understand comprehensions for creating an array

2015-10-26 Thread Ferran Mazzanti
Hi folks, I try to create an array of constant float64 values. Something I did was: a = 0.8; Nb = 100; p = zeros(Nb) for i in 1:Nb p[i] = a/Nb end and typeof(p) returns Array{Float64,1} so far, so good :) But now I do the following instead to shorten things: a = 0.8; Nb = 100; p = [ a/Nb for

[julia-users] Re: PyPlot histogram does not work (for me at least) in 0.4.0 (?)

2015-10-26 Thread Ferran Mazzanti
> > h = PyPlot.plt[:hist](x,nbins) > > > > On Monday, October 26, 2015 at 11:28:35 AM UTC+1, Ferran Mazzanti wrote: >> >> Hi folks, >> >> using Linux Mint 17.1 here. I upgraded to julia 0.4.0 and now this simple >> code, taken from the web and tested on

[julia-users] Re: Please help me understand comprehensions for creating an array

2015-10-26 Thread Ferran Mazzanti
] typeof(p) still produces Array{Any,1} On Monday, October 26, 2015 at 11:35:06 AM UTC+1, Ferran Mazzanti wrote: > > Hi folks, > > I try to create an array of constant float64 values. Something I did was: > > a = 0.8; > Nb = 100; > p = zeros(Nb) > for i in 1:Nb > p[

[julia-users] Re: PyPlot histogram does not work (for me at least) in 0.4.0 (?)

2015-10-26 Thread Ferran Mazzanti
quot;) > > whereas in Python the last step would have been my_dna.find("ACT")" > > On Monday, October 26, 2015 at 11:38:41 AM UTC+1, Ferran Mazzanti wrote: >> >> That worked, thanks :) >> >> But this syntax I can not understand... where can I find docu

[julia-users] Clsing IJulia in a neat way

2015-11-03 Thread Ferran Mazzanti
Dear all, I use IJulia from time to time. To do that I open the julia REPL in the terminal, issue using IJulia notebook() ..and the web browser opens and I am ready to go. But when I want to finish the IJulia session, I dont see a 'close' button in the file manager of Jupyter, so I have to

[julia-users] Clebsch-Gordan and/or 3j symbols in julia ?

2015-12-07 Thread Ferran Mazzanti
Hi folks, since I'm in the quantum mechanics world and I'm moving towards Julia, I was wondering if there's a simple way (package?) that anybody knowa which allows to evaluate Clebsch-Gordan coefficints or Wigner 3-j symbols. I'm actually trying to get integrals of three Spherical Harmonics done

[julia-users] vector of vectors to array

2016-06-28 Thread Ferran Mazzanti
Hi, probably simple question but can't find the answer. I have a vector of vectors like this one chi2_mods 3-element Array{Array{Float64,1},1}: [7245.87,7242.98,7240.08,7237.18,7234.28,7231.39,7228.49,7225.59,7222.7,7219.81 … 0.0299669,0.0251945,0.0206114,0.0162815,0.0130703,0.00927407,0.

Re: [julia-users] vector of vectors to array

2016-06-28 Thread Ferran Mazzanti
gt; 0.722769 0.147476 0.638619 > > However, if you are worried about performance then creating an array of > the right size and filling it in a loop might be better. > > On Tue, 2016-06-28 at 10:03, Ferran Mazzanti > wrote: > > Hi, > > > > probably si

[julia-users] Re: A Very Simple Benchmark for Brutal-force Loops in Several Languages: revised, Julia is fast!

2016-07-12 Thread Ferran Mazzanti
...but then is Julia *really* fast ? I guess that depends on what you compare with. I've been doing lots of numerics for the last 20+ years and for that I use fortran. This is *damn* fast, even more if you use something like the Intel compiler. Fortran many times performs better than C, and the

[julia-users] Re: A Very Simple Benchmark for Brutal-force Loops in Several Languages: revised, Julia is fast!

2016-07-12 Thread Ferran Mazzanti
btw, I use Julia also, and I really like it very much :)

[julia-users] Re: A Very Simple Benchmark for Brutal-force Loops in Several Languages: revised, Julia is fast!

2016-07-13 Thread Ferran Mazzanti
Dear Zhong, I understand your points very well... as I said I also love and use Julia. But at this point I understood that the *only* thing that was discussed was speed. And in that matter, a factor 1.6 is still a big difference. In my case I'm willing to use it instead of fortran right now, al

[julia-users] Array of vectors in type definition

2016-07-18 Thread Ferran Mazzanti
Guys, today I've tried to include a vector of vectors as part of atype definition, something like type caw legs :: Int64 spots :: Array{Float64}[] end but that fails. Shall I understand that it is not possible to define that in a type definition? I just wanted to include a structrure tha

[julia-users] Re: Array of vectors in type definition

2016-07-18 Thread Ferran Mazzanti
Hi Mauro, your solution seems to work... though I do not understand exactly why :) Even Vector{Array{Float64}} works. Thanks for your kind help :) Ferran.

[julia-users] Re: Array of vectors in type definition

2016-07-20 Thread Ferran Mazzanti
and now it does not complain On Monday, July 18, 2016 at 5:13:23 PM UTC+2, Ferran Mazzanti wrote: > > Guys, > > today I've tried to include a vector of vectors as part of atype > definition, something like > > type caw >legs :: Int64 >spots :: Array{Float64}

[julia-users] I can't believe this spped-up !

2016-07-21 Thread Ferran Mazzanti
Hi, mostly showing my astonishment, but I can even understand the figures in this stupid parallelization code A = [[1.0 1.0001];[1.0002 1.0003]] z = A tic() for i in 1:10 z *= A end toc() A produces elapsed time: 105.458639263 seconds 2x2 Array{Float64,2}: 1.0 1.0001 1.0002

[julia-users] Re: I can't believe this spped-up !

2016-07-21 Thread Ferran Mazzanti
:50 PM UTC+2, Chris Rackauckas wrote: > > I wouldn't expect that much of a change unless you have a whole lot of > cores (even then, wouldn't expect this much of a change). > > Is this wrapped in a function when you're timing it? > > On Thursday, July 21, 2016

[julia-users] Re: I can't believe this spped-up !

2016-07-21 Thread Ferran Mazzanti
mean. > > That said, that doesn't explain your speed up completely, you should also > make sure that each part of your script is wrapped in a function and that > you 'warm-up' each function by running it once before comparing. > > Cheers, > Nathan >

[julia-users] Re: I can't believe this spped-up !

2016-07-21 Thread Ferran Mazzanti
Nathan, the execution of these two functions gives essentially the same timings, no matter of many processes I have added with addprocs() Very surprising to me... Of course I prefer the speeded-up version :) Best, Ferran. On Thursday, July 21, 2016 at 6:40:14 PM UTC+2, Nathan Smith wrote: > >

[julia-users] Re: Array of vectors in type definition

2016-07-22 Thread Ferran Mazzanti
t;> I've tried things like >> >> >> push!(z.spots,[1.0]) >> >> >> but then I get >> >> >> LoadError: UndefRefError: access to undefined reference >> while loading In[30], in expression starting on line 1 >> >> >&g

[julia-users] Re: Array of vectors in type definition

2016-07-22 Thread Ferran Mazzanti
Thanks Jussi for being so helpful :) I'll try that and check. Then I'll carefully think about all this to see what can I learn from here :) Best regards, Ferran.

[julia-users] Re: Array of vectors in type definition

2016-07-22 Thread Ferran Mazzanti
Ok all tests seem to fail, sorry. Jossi doing what you say directly works, but trying to wrap up things in a type deffinition either fails, or fails when I try to push!() things. Could you please be so kind to fill the whole example? Something like: type croc() teeth :: Int64 legs :: Int64

[julia-users] Re: I can't believe this spped-up !

2016-07-23 Thread Ferran Mazzanti
Hi Roger, that makes a lot of sense to me... I'll be careful also with globals. Still if the mechanism is the one you mention, there is something fuzzy here as the timmings I posted are right, human-wise, in the sense that the reported times were the ones I actually had to wait in front of my c

[julia-users] Error installing PyPlot in OSX

2016-08-06 Thread Ferran Mazzanti
Hi, just erased everything that is julia-related (including julia itself), removed .julia etc... and installed from scratch 0.4.6. WHen I tried to installed PyPlot and issued the using PyPlot command I got this: ERROR: InitError: PyError (:PyImport_ImportModule) ValueError('unknown locale: UT

[julia-users] Broken PyPlot... need to revert to a previous version asap.

2016-08-18 Thread Ferran Mazzanti
Dear all, looks like lots of messing around with versions had rendered PyPlot unusable in 0.4.6 under OSX (at least). Now I need to do some work that requires its use so I need to have it up and working. Could anybody please let me know if it is possible to revert to a previous working version,

[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-08-18 Thread Ferran Mazzanti
Hi again, thanks all of you for the replies. And specially to Bart, who gave me the precise information. I just did: Pkg.pin("PyCall",v"1.4.0") Pkg.pin("PyPlot",v"2.1.1") Pkg.build("PyPlot") and from there using PyPlot did the trick :) Cheers, Ferran.

[julia-users] Re: Broken PyPlot... need to revert to a previous version asap.

2016-08-18 Thread Ferran Mazzanti
Yes of course... how do I do that? Thanks, Ferran. On Thursday, August 18, 2016 at 8:29:08 PM UTC+2, Steven G. Johnson wrote: > > Please file an issue if the latest version of PyCall (or PyPlot) is > failing for you. >

[julia-users] GPU CUDA programming in Julia

2016-09-17 Thread Ferran Mazzanti
Hi folks, I know this is a very naive question as such but I can't make me a complete picture of this world. I would like to be able to program Julia code for the nVidia GPU's supporting CUDA: What is the best/easiest way to do that? Is it possible to write all the code (including the GPU part)

[julia-users] Periodic or cyclic arrays possible?

2016-02-06 Thread Ferran Mazzanti
Hi folks, I was wondering if it is possible to use in a simple way cyclic arrays in Julia? What I'm after is sometbing that understands that the next element in a[] after end is a[1], so a[end+1]=a[1], a[end+2]=a[2] etc... I know I can index the array with the remainder operator % to achieve th

[julia-users] if .. else on a whole array

2016-02-10 Thread Ferran Mazzanti
Hi folks, probably a stupid question but can't find the answer, so please help if you can :) I would like to evaluate a if.. else.. statement on a whole array. Actually it's a bit more complicated, as I have a function that previously was function u2(x) return 0.5*(u2_0(x)+u2_0(Lbox-x))-u2_

Re: [julia-users] if .. else on a whole array

2016-02-10 Thread Ferran Mazzanti
a> [ xi>5 ? 0:blah for xi in x] > 10-element Array{Any,1}: > 1 > 1 > 1 > 1 > 1 > 0 > 0 > 0 > 0 > 0 > > > On Wed, 2016-02-10 at 11:58, Ferran Mazzanti > wrote: > > Hi folks, > > > > probably a stupid que

[julia-users] Getting the name of the running program

2016-04-08 Thread Ferran Mazzanti
Hi folks, probably a most stupid question here :) Is there a way to get a string with the name of the Julia program one is running? I ask because I usually write output files starting with a header stating something like "# Results generated by the program " followed by the program name. So ho

[julia-users] Re: Getting the name of the running program

2016-04-11 Thread Ferran Mazzanti
you mean the name of the file where the > function is defined > > println(@__FILE__) > > makes the job. > > On Friday, April 8, 2016 at 10:53:14 AM UTC+2, Ferran Mazzanti wrote: >> >> Hi folks, >> >> probably a most stupid question here :) Is there a

[julia-users] plotting symbols in pyplot

2016-05-13 Thread Ferran Mazzanti
Dear all, I'm sure this is a simple question but can't find out the right information (manuals?) for Pyplot interfacing in Julia... I want to compare several (similar) figures in the same plot, and some of them should be plotted with lines (solid, dashed...) and colors, while other should be pl