Bill Page wrote:
>
> On 12 October 2014 23:02, Waldek Hebisch <[email protected]> wrote:
> > ...
> > I am thinking about modifying draw, strictly speaking adding
> > a now option called for example 'nodraw' which when set will
> > inhibit drawing. This would allow getting a GraphImage
> > using 'draw' without any trace on the screen.
> >
>
> +1
>
> > I started thinking about this because of GnuDraw package.
> > 'gnuDraw' procuces a file and makes graph on the screen.
> > But if we want file, then graph on the screen seem
> > redundant, so the new option would avoid it. More
> > precisely, I would like to add new option to the call
> > of 'draw' inside of 'GunDraw'.
> >
>
> Yes, that would be most welcome.
Instead of adding a now option I added a new function
called 'makeObject' which is like 'draw' but produces
data structure without showing it. It was only needed
for 2D, for 3D graphics 'makeObject' was already present.
There is additional change: graph data is transmited to
viewport manager just before showing viewport. So
no need that call 'makeGraphImage(g)' where 'g' is
a graph (other versions of 'makeGraphImage' are still
useful).
I adjusted GnuDraw to use 'makeObject' and commited it
together with changes to plotting code.
--
Waldek Hebisch
[email protected]
--
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.