[RPL/2] How to draw anything ?
DEMAINE Benoit-Pierre
benoit at demaine.info
Lun 16 Juil 17:08:08 CEST 2007
BERTRAND Joël wrote:
> DEMAINE Benoit-Pierre wrote:
>> Before asking, I had a glance at ps.bz2 on the web site (pages are
>> white), and to archives of ML I kept locally.
>>
>> How to draw anything on screen ?
>> draw+persist do not open any GUI.
>
> 'X' steq draw // Y=X
> { "droite.eps" "postscript eps enhanced monochrome dashed" } LCD->
> // create an EPS file with name: "droite.eps"
running it manually in CLI is ok; running attached script produces:
dhp at moon_gen_2:~/documents/programmation/rpl$ ./ewample_draw_graphic.rpl
+++RPL/2 version 4.00pre8w (Tuesday 07/10/07, 23:57:24 CEST)
+++Copyright (C) 1989 to 2006, 2007 BERTRAND Joël
+++Fatal : Any entry point
dhp at moon_gen_2:~/documents/programmation/rpl$
Any way, nothing come out; no popup, no extra window.
I attach the created eps (1195 bytes, content is white).
>
>> LCD-> creates empty files
>
> Maybe gnuplot support is not built.
I have installed gv and redo all steps above, same result.
After checking deep logs, rpl was build with gnuplot.
>
>> A stupid example based on y=x would suffice for today. I want:
>> - live draw on screen
>> - possibility to store picture on HDD (PS/PNG/JPG) from the window on
>> screen (I dont think PR1 will do).
>
> PR1 only prints data in postscript buffer and you have to call print to
> launch gv.
Logs mention:
checking for gv... no
configure: WARNING: Cannot find gv! You may install it.
Download at http://ftp.lip6.fr/
is this the problem ?
>
>> Is there a way to check it have been with GnuPlot enabled ?
>
> You can check config.log file. I will add an option to see compilation
> variables.
>
>> How to store on drive the "DISP" ? the place where messages come out.
>
> Sorry, I don't understand you request...
In fact, it was a stupid question. La nuit porte conseil :)
***
I will rebuild now (after gv install). Sounds it shall fix my issue.
--
>o_/ DEMAINE Benoit-Pierre (aka DoubleHP) http://benoit.demaine.info/
If computing were an exact science, IT engineers would not have work \_o<
"So all that's left, Is the proof that love's not only blind but deaf."
(FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ewample_draw_graphic.rpl
Url: http://www.systella.fr/pipermail/rpl2/attachments/20070716/25bf1fdd/attachment.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: droite.eps
Type: application/postscript
Size: 1195 bytes
Desc: not available
Url : http://www.systella.fr/pipermail/rpl2/attachments/20070716/25bf1fdd/attachment.eps
Plus d'informations sur la liste de diffusion RPL2