Re: [julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-06 Thread Tim Holy
Looks like it covers quite different functionality from Interpolations; in 
particular, inserting a new knot is not something supported by Interpolations.

1D has all kinds of things that don't generalize very well to n-dimensions, 
which is where Interpolations has focused its efforts.

Best,
--Tim

On Saturday, March 05, 2016 04:38:33 AM lewis.h...@my.caspercollege.edu wrote:
> Quite possibly I could. I wasn't aware of Interpolations.jl when I built
> the splines library.
> 
> Note: I have now released the splines package
> (https://github.com/LewisHein/Splines.jl) and updated the install
> instructions. So the MathGL package *should* install without problems now.
> 
> Please let me know if there is anything more I haven't fixed
> 
> On Saturday, March 5, 2016 at 3:09:38 AM UTC-7, Tomas Lycken wrote:
> > Just guessing by the name, but it seems to me that you might be able to
> > leverage Interpolations.jl to get rid of the dependency on Splines.jl.
> > 
> > https://github.com/tlycken/Interpolations.jl
> > 
> > // T



Re: [julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-05 Thread lewis . hein
Quite possibly I could. I wasn't aware of Interpolations.jl when I built 
the splines library.

Note: I have now released the splines package 
(https://github.com/LewisHein/Splines.jl) and updated the install 
instructions. So the MathGL package *should* install without problems now.

Please let me know if there is anything more I haven't fixed

On Saturday, March 5, 2016 at 3:09:38 AM UTC-7, Tomas Lycken wrote:
>
> Just guessing by the name, but it seems to me that you might be able to 
> leverage Interpolations.jl to get rid of the dependency on Splines.jl.
>
> https://github.com/tlycken/Interpolations.jl 
>
> // T 
>


Re: [julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-05 Thread Tomas Lycken
Just guessing by the name, but it seems to me that you might be able to 
leverage Interpolations.jl to get rid of the dependency on Splines.jl.

https://github.com/tlycken/Interpolations.jl 

// T 

[julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-04 Thread lewis . hein
Oooh. Now that should not be happening. The mimetypes.jl file is definitely 
part of the package on my end

As for the error with missing Splines.jl, I didn't realize that that was 
still a dependency. I will post the Splines.jl package as soon as I can, 
probably later today. I will also try to add installation instructions.

All of your testing is very much appreciated. I think I'd better set up a 
"permanently clean" VM where I can test some of this stuff and create fewer 
annoying hassles for others trying to use my code

Lewis

On Friday, March 4, 2016 at 3:36:51 PM UTC-7, Christoph Ortner wrote:
>
> Further down the source file, there is an include
>
> include("mimetypes.jl")
>
> but there is no file mimetypes.jl anywhere. Is it possible that the 
> repository is incomplete?
>
> C
>


Re: [julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-04 Thread lewis . hein
OK, I apologize for the problems. The reason for the error on "using 
Splines" is that I also am working on a splines package that I need and 
added some plotting features to plot my splines. So, you can either delete 
that line and any functions that take a Spline as an argument (There aren't 
many) , or you can wait until I get my splines library posted. (I don't 
know how long this will be; hopefully soon). A third option would be to 
take a look here:

https://github.com/thomastaudt/MathGL.jl

It appears that someone else had the same idea that I did. His probably has 
way fewer rough edges, too. If you want my plotOpStack functionality, then 
that would be trivially easy (a few dozen lines of code) to add to any 
julia-based plotting system, MathGL.jl, gadfly, etc.

As for installing MathGL, it should be in the repo for most mainstream 
linux distros; If you are running windows then I think they have an 
installer.

It should be possible to have MathGL.jl install the MathGL library 
automatically, given a developer who knows their way around the julia 
packaging system sufficiently. The one thing that gave me pause is (other 
than that I don't know my way around the packaging system that well) is 
that MathGL is a 20 Mb download, which would hugely increase the size of my 
package

Lewis
On Friday, March 4, 2016 at 12:27:22 PM UTC-7, Christoph Ortner wrote:
>
>
> looks really nice, but I just spent 30 minutes trying to install MathML. 
> This is when I lose interest. Sorry. 
>
> Any chance to have MathML.jl install MathML automatically?
>
> Christoph
>
>

[julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-04 Thread Christoph Ortner
Further down the source file, there is an include

include("mimetypes.jl")

but there is no file mimetypes.jl anywhere. Is it possible that the 
repository is incomplete?

C


[julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-04 Thread Christoph Ortner
Would be nice to post installation istrunctions on the MathGL.jl README. It 
took me a while to realise that MathGL can just be installed via home-brew.

brew install homebrew/science/mathgl

Anyhow, there is still the problem with the error message. What is 
"Splines"?


Re: [julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-04 Thread Christoph Ortner

looks really nice, but I just spent 30 minutes trying to install MathML. 
This is when I lose interest. Sorry. 

Any chance to have MathML.jl install MathML automatically?

Christoph



Re: [julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-04 Thread Chris
Oh right, sorry, that's the error message I get as well. The one in my
original reply was from trying to do `Pkg.add("Splines")`

On Fri, Mar 4, 2016 at 1:51 PM Christoph Ortner 
wrote:

> Actually in my case I get the error message
>
> julia> using MathGL
> ERROR: LoadError: ArgumentError: Splines not found in path
>
>
>


[julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-04 Thread Christoph Ortner
Actually in my case I get the error message 

julia> using MathGL
ERROR: LoadError: ArgumentError: Splines not found in path




[julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-04 Thread Christoph Ortner
I get the same - I assumed one needs to install MathGL first. Have you 
tried this?
C

On Friday, 4 March 2016 18:44:09 UTC, Chris wrote:
>
> Thanks, I haven't heard of MathGL before, and it looks interesting. When I 
> try to use your module, I get "ERROR: unknown package Splines", from the 
> "using Splines" line. There doesn't appear to be a Splines.jl registered in 
> METADATA.
>
> On Friday, March 4, 2016 at 1:30:00 PM UTC-5, Lewis Hein wrote:
>>
>> Hi all 
>>
>> MathGL is a really nice plotting library that I have been using 
>> extensively for the past year. When I took the plunge recently and 
>> switched my research codebase over to julia, I wanted MathGL to follow 
>> it, especially as there are some things such as animations, windowing 
>> toolkit widgets, and the incredible customizeability and diversity of 
>> the plots that I couldn't find in other plotting packages. Therefore, I 
>> took the obvious solution and built a julia interface. The code is on 
>> github here: 
>>
>> https://github.com/LewisHein/MathGL.jl 
>>
>> Lewis 
>>
>

[julia-users] Re: [ANN] MathGL graphics library wrapper

2016-03-04 Thread Chris
Thanks, I haven't heard of MathGL before, and it looks interesting. When I 
try to use your module, I get "ERROR: unknown package Splines", from the 
"using Splines" line. There doesn't appear to be a Splines.jl registered in 
METADATA.

On Friday, March 4, 2016 at 1:30:00 PM UTC-5, Lewis Hein wrote:
>
> Hi all 
>
> MathGL is a really nice plotting library that I have been using 
> extensively for the past year. When I took the plunge recently and 
> switched my research codebase over to julia, I wanted MathGL to follow 
> it, especially as there are some things such as animations, windowing 
> toolkit widgets, and the incredible customizeability and diversity of 
> the plots that I couldn't find in other plotting packages. Therefore, I 
> took the obvious solution and built a julia interface. The code is on 
> github here: 
>
> https://github.com/LewisHein/MathGL.jl 
>
> Lewis 
>