[diagrams] Animation of heath evolution

2018-08-10 Thread Jorge Devoto
Hello I am trying to make a simulation of the evolution of the heath using diagrams with animations. I can not find any example. Could anybody tell me where can I find examples? Any help is welcomed. Thanks in advanced. Jorge -- You received this message because you are subscribed to the Goo

Re: [diagrams] Animation of heath evolution

2018-08-11 Thread Jorge Devoto
at you want to do. What > kind of function is H? I guess t is a real number? What type is x? And > what type does H return? Maybe sending the python program as an attachment > would be helpful (please also send clear instructions on how to run it). > > -Brent > > On Fri,

Re: [diagrams] Animation of heath evolution

2018-08-14 Thread Jorge Devoto
ms-rasterific-1.4.1/docs/Diagrams-Backend-Rasterific.html#v:animatedGif > For > drawing function plots, you can simply use > https://diagrams.github.io/haddock/diagrams-lib/Diagrams-CubicSpline.html#v:cubicSpline > on > a list of points sampled from the function. > > -B

[diagrams] Problem with basic example from diagrams-cairo

2018-12-12 Thread Jorge Devoto
Hi to everybody I tried to compile the example import Diagrams.Prelude import Diagrams.Backend.Cairo.CmdLine d = circle 1 # fc blue main = mainWith (pad 1.1 d) which appears in the diagrams-cairo documentation. I get these errors Circle.hs:5:5: No instance for (Ord n0) arising from a u

[diagrams] Re: Problem with basic example from diagrams-cairo

2018-12-15 Thread Jorge Devoto
Problem solved. On Wednesday, December 12, 2018 at 1:19:57 PM UTC-3, Jorge Devoto wrote: > > Hi to everybody > > I tried to compile the example > > import Diagrams.Prelude > import Diagrams.Backend.Cairo.CmdLine > > > d = circle 1 # fc blue > > main = mainW

[diagrams] Problem with Diagrams.rasterific and atop

2019-03-07 Thread Jorge Devoto
Hi I have the following program {-# LANGUAGE NoMonomorphismRestriction #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE TypeFamilies #-

Re: [diagrams] Problem with Diagrams.rasterific and atop

2019-03-10 Thread Jorge Devoto
eep the positional information, use `strokeLocTrail`. > > Hope this helps! > > Ryan > > > On Thu, Mar 7, 2019 at 9:34 AM Jorge Devoto > wrote:

[diagrams] Problem compiling an example of the arrows tutorial

2020-04-28 Thread Jorge Devoto
Hello I was trying to compile the example of a finite state automata in the arrows tutorial. The problem is with the lines > text' d s = (strokeP $ textSVG' (TextOpts lin2 INSIDE_H KERN False d d) s) > I get the following error message graph.hs:16:42: error: • Couldn't match type ‘IO

Re: [diagrams] Problem compiling an example of the arrows tutorial

2020-04-29 Thread Jorge Devoto
me know. > > Of course, we should also fix the code in the tutorial! > > -Brent > > > On Tue, Apr 28, 2020 at 2:53 PM Jorge Devoto > wrote: > >> Hello >> >> I was trying to compile the example of a finite state automata in the >> arrows tutorial.

Re: [diagrams] Problem compiling an example of the arrows tutorial

2020-04-30 Thread Jorge Devoto
s.haskell.org/diagrams/doc/arrow.html >> ? >> >> The correct URL for the most up-to-date version of the diagrams site is >> >> https://diagrams.github.io/doc/arrow.html >> >> How did you find the old version? Ideally we should get rid of it but >>