Subject: mailing-list for TeXmacs Users
List archive
From : bytecolor <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] imbedding plots generated by maxima
- Date: Sun, 16 Aug 2009 11:36:38 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=tUksqxkksKagbLF6JmPi21LUmOVcHfZ8jUUZkol55LWwA9KT//XWRCcwVxUYWh6F26VzM19UFpIi6EIfhtggFAIJZW1d0D+tdonpVVi2ROOZJfOACL/fOZta7CPhkYNZWhMtsZLM2mpxlMo4IogdyAPUEgHohbhUbpkFgS0rAsg=;
Very nice. Much better sized image.
I had found the same problem not finding `maxplot.ps'. I found the `temp_dir'
maxima variable, and set it to ~/tmp. It seems to be ignored though. <shrug>
You'll need to reset ttyoff to false at the end of texmacs.mac. If you don't,
any output after plotting will not be visible! Or you could comment out both
ttyoff statements (or just delete them). Then put "" as the last statement.
I've attached texmacs.mac with the aforementioned edits.
This will print an empty (%o1) after displaying the graph, but subsequent
interaction with maxima will work as expected.
Ultimately, the graph should be displayed _after_ (%o1), but in order to do
that I'd have to create a string and return it from tmplot2d(), instead of
using system() in the script. I could not figure out how to read maxplot.ps
into a string variable in maxima. I just posted that question on #maxima.
A better solution is to have texmacs handle this. That way it will `just
work' without having to set up anything on the maxima side.
About ^B and ^E. Search the texmacs docs, (F1) by default, for
`input/output'. Choose the first result. That gives a good explanation.
They are DATA_BEGIN and DATA_END respectively.
--
bytecolor (S. Edward Dolan)
--- On Sun, 8/16/09, Khadga Karki <address@hidden> wrote:
> From: Khadga Karki <address@hidden>
> Subject: Re: [TeXmacs] imbedding plots generated by maxima
> To: address@hidden
> Date: Sunday, August 16, 2009, 7:40 AM
> Hi (let me say) bytecolor,
>
> Many thanks. It works. The only problem was that the ps
> file always got
> saved to my home directory no matter where I started the
> program from. I
> made little changes to the script to fix that problem. May
> be this is just
> a system specific problem. I am using Debian lenny. I have
> attached the
> tampered version of the script.
> Any way I am wondering what those control characters do? I
> just started
> using texmacs and maxima and am not familiar with such
> nifty tricks.
>
> And Paul, perhaps you could adapt the script for R so that
> you don't have
> to keep on importing the figures each time you make them.
>
> cheers,
> Khadga
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Attachment:
texmacs.mac
Description: Binary data
- Re: [TeXmacs] imbedding plots generated by maxima, bytecolor, 08/16/2009
- <Possible follow-up(s)>
- Re: [TeXmacs] imbedding plots generated by maxima, Khadga Karki, 08/16/2009
- Re: [TeXmacs] imbedding plots generated by maxima, bytecolor, 08/16/2009
Archive powered by MHonArc 2.6.19.