Skip to Content.
Sympa Menu

texmacs-users - Re: Plotting functions with TeXmacs graphics

Subject: mailing-list for TeXmacs Users

List archive

Re: Plotting functions with TeXmacs graphics


Chronological Thread 
  • From: TeXmacs <address@hidden>
  • To: address@hidden
  • Subject: Re: Plotting functions with TeXmacs graphics
  • Date: Wed, 13 Nov 2019 19:40:24 +0100

Hi Giovanni,

I tried it on my computer, but had some problems to make it run,
and I still have various error messages. These problems can
probably be solved by putting your code in a clean TeXmacs plug-in
(see Help -> Interfacing ; you just need to bundle your files
following the conventions that are explained there).

Concerning your problem with text: you may change the alignment
using TeXmacs markup. To see how, and similarly for other types
of markup, you may draw a picture with horizontally centered text
in graphics mode, and look at the source code representation
(Document -> Source -> Edit source tree).

Best wishes, --Joris



On Wed, Nov 13, 2019 at 12:49:07AM +0100, Giovanni Piredda wrote:
> (copying from a message that I just posted on the forum at
> http://forum.texmacs.cn/)
>
>
> I have written a small set of Scheme files to plot functions using
> the graphics of TeXmacs. I put it at
> https://github.com/pireddag/plotFun, with short instructions on how
> to use it.
>
> The code can be improved a lot and it is not well-documented (I am
> starting already to forget what I wrote in there); for example the
> plot parameters (at the moment they are the function and the range)
> could be supplied with a file rather than as parameters of the
> macro; and of course writing the function to be plotted in standard
> notation would also be nice, but I do not have time for this
> immediately.
>
> I would appreciate, though, if someone tries it and tells me whether
> it works on their computer.
> A thing that I would like to improve is the placement of the tick
> labels: I think that to place them right I should know how long each
> typeset string is, but I do not know how to get this information and
> to pass it onto the Scheme code. I would appreciate suggestions on
> this too.
>
> Giovanni
>



Archive powered by MHonArc 2.6.19.

Top of Page