Kurt,

Could you send an example of your use of gnuDraw in TeXmacs?  Perhaps
we could encourage Waldek to include the gnuDraw code in the new
release.

Maybe we could somehow embed your tmcmd into the TeXmacs FriCAS interface.

Bill.

On 9 September 2014 06:51, kfp <[email protected]> wrote:
>
>
> On Tuesday, 9 September 2014 02:43:21 UTC+2, Bill Page wrote:
>>
>> On 6 September 2014 10:27, kfp <[email protected]> wrote:
>> >>
>> >> On Friday, 5 September 2014 23:28:22 UTC+2, Bill Page wrote:
>> >>>
>> >>> There is some GNUplot stuff here:
>> >>>
>> >>> http://axiom-wiki.newsynthesis.org/GnuDraw
>> >>
>>
>>
>> Why do you think that GnuDraw requires X?  If it does, then perhaps I
>> am missing something. :)
>
>
>
> You are right (how stupid of me) it doesn't need X at all. The term
> 'viewport manager' in the output snippet below let me assume that some
> window should pop up ;) Of course, output goes to the file specified and gp
> works fine. I'm glad that it works, it's much more sophisticated than the
> simple gnuplot function.
>
> Thanks and sorry for the confusion
> Kurt
>
>  (8) -> gnuDraw(%,z=-5..5,"testfile1.dat",title=="fun2")
>    Compiling function %I with type DoubleFloat -> DoubleFloat
>    Graph data being transmitted to the viewport manager...
>    FriCAS2D data being transmitted to the viewport manager...
>



On 5 September 2014 17:15, kfp <[email protected]> wrote:
>
> Hi
>
> I glanced at the plotting capabilities of Fricas in order to provide some
> basic functionality for the 'kernel'. Naturally, I also searched this list
> for any hints as I try to avoid reinventing the wheel. After all the matter
> is quite confusing to me. Thus I dare asking some questions:
>
> a) Is there any strategy to refurbish graphics output?
> b) Is there any library which provides (file) output for some of the common
> plotting/viewing packages? E.g. GLE, Asymptote, Gnuplot, matplotlib,
> Paraview, jmol  ...
> For instance GLE and Asymptote provide nice ps output which could be
> automatically inserted into a frontend (IPy, TeXmacs). In TeXmacs it's even
> possible to receive 'ps' out of Fricas directly with the \x2ps:..\x5
> sequence. Therefore: is any of the current plotting routines able to give
> Postscript output to stdout?
> c) What is the state of the Plot() domain? The 'coerce' gives some output
> (e.g. =plot((x:DF +-> x^2),1.0::DF..2.0::DF)@Plot), however, what was the
> purpose of this? Terminal graphics?
>
> I found some promising links in the thread: Re:[Axiom-mail] gnuplot on
> axiom-wiki , but the links seem to be dead. I read there that Bill Page had
> something in the direction of Gnuplot script output. This could be a
> starting point and I would be rather interested to use it in texmacs. The
> following two functions allow to insert graphics into tm while using the
> plugin, so a ready-to-use 'myplot' command could easily be patched up (not
> only for gnuplot).
>
> tmcmd(cmd:String):Void == print (concat [char 2,"command:",cmd,char 5]);
>
> tm_inline_image(url:String):Void ==
>    options:=" _"_" _"_" _"_" _"_" ))"
>    q:="_""
>    tmcmd(concat ["(make-inline-image (list ", q, url, q, options])
>
>
> Kurt
>

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to