r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

Graham
8-Jan-2005
[100x4]
>> date-data: [ 1-Jan-2005 2-Jan-2005 3-Jan-2005 1-Dec-2005 ]
== [1-Jan-2005 2-Jan-2005 3-Jan-2005 1-Dec-2005]
>> y-data: [ 1 2 3 4 ]
== [1 2 3 4]

 view quick-plot [ 800x300 x-data [(date-data)] line [(y-data)] x-axis 
 6 ]

which draws a very straight line.
is line-width only valid for the agg versions of View ?
Did Cyphre ever release his agg_lite.dll with text rendering as he 
said he was going to do for devcon?
I just downloaded the rebol-agg.zip file and the file dates are still 
June 2004
Gabriele
8-Jan-2005
[104]
AGG text rendering is in alpha View too...
Pekr
8-Jan-2005
[105x2]
what do you mean by text rendering? Text rendering in terms of draw? 
Imo now biggest drawbacks for general View usability are - incomplete 
keyboard handler + non-existance of rich text. I think that Carl 
could come up with some solution, where face/text rendeing could 
be switched to use agg capabilities internally ...
btw - I don't like current face object structure at all! Imo we could 
have kind of graphics face, where subobjects like para, text, font 
would be removed, and then more rich face, for text ... but in terms 
of rich text, font, para and text are useless too, as they allow 
only one style per face, kind of ZX Spectrum to me, which allowed 
only one color per 8x8 pixel ;-)
Scott
8-Jan-2005
[107]
G: I don't recall q-plot as being date-smart.  It just thinks you 
are feeding four data points.
DideC
8-Jan-2005
[108]
Is there anybody here who manages Rebolforces web site ?

This page look very interesting for Newbies, but images are not there 
:
http://www.rebolforces.com/archive/view099users.html
Pekr
8-Jan-2005
[109]
It was Allen's work IIRC.
Chris
8-Jan-2005
[110]
Hmm, that's from a while back (my first RF logo :o)  Allen has the 
keys to the archive...
DideC
8-Jan-2005
[111x2]
I suppose the %image/ folder was not moved with the page. May be 
they are still on the site, somewhere.
Allen seems to not come here very often :-\
Pekr
8-Jan-2005
[113]
yes, many talented ppl elft rebol imo ... do you guys remember Elan, 
Andrew Grossman, Joel, Tim Peters, etc.?
Chris
8-Jan-2005
[114x3]
He is, he's just not been on Rebol3 (except as Guest)
Accounts group - Wednesday...
Did Joel leave?  I just thought he didn't sign up for AltME...
Pekr
8-Jan-2005
[117]
maybe it is just my impressin because of almost inactive ml ...
PhilB
8-Jan-2005
[118]
I got the impression Joel used a Mac ..... and hence no Native View 
or AltME
Ladislav
8-Jan-2005
[119x2]
Graham: re quick plot - yes, I had to make some changes to be able 
to draw xy graph with irregular x values. Unfortunately I didn't 
correct the behaviour for dates. I will probably include XY graphing 
capabilities into  my spider.r, because the "philosophy" of q-plot 
looks a bit "flawed" to me - it is "two-pass" (acceptable) evaluating 
expressions twice , which looks
...unacceptable
Graham
8-Jan-2005
[121x2]
Ladislav, do you have a fixed version of q-plot for irregular x values? 
 I can use seconds instead of date values.
Gabriele, yes, I was aware that text rendering was in AGG view, but 
I wanted to encap, which means using the agg_lite.dll ... unless 
someone can twist Carl's arm to release encap with AGG as well :(
Cyphre
8-Jan-2005
[123x2]
Graham. I stopped developement of agg_lite.dll and switched to AGG 
v2.2 library which is used in Rebol/View alphas. The agg_lite.dll 
was just a proof of concept.
I'm using internally for testing and debugging 'a clone' of the same 
code(which is written for View with agg) as a .dll. But this version 
is not in state of public release.
Graham
8-Jan-2005
[125x2]
ok.
I guess I can call agg-view.exe to do the graphing that I want
Cyphre
8-Jan-2005
[127]
I think so ;)
Graham
8-Jan-2005
[128x2]
is there some documentation yet for the new draw commands?
or dialect changes?
Cyphre
8-Jan-2005
[130]
AFAIK the frst version of new DRAW docs will be released together 
with the beta version of View/agg
Graham
8-Jan-2005
[131]
too bad ...
Cyphre
8-Jan-2005
[132]
The reason is that the syntax of the dialect which use alpha versions 
will be changed in beta so Carl don't want to confuse people and 
let them write incompatible scripts.
Ladislav
9-Jan-2005
[133]
Graham: check the http://www.fm.vslib.cz/~ladislav/rebol/q-plot.r
The script was used e.g. by http://www.fm.vslib.cz/~ladislav/rebol/present.r
, e.g. the probability plot is expected to have irregular X values
Graham
9-Jan-2005
[134]
thanks.
Ladislav
9-Jan-2005
[135]
it isn't as well polished as I would like it to, though
Graham
9-Jan-2005
[136x4]
I've managed to write a script that generates SVG line graphs that 
look like the one referenced above :)
http://www.compkarori.com/vanilla/display/svg-linegraph.r
generates a SVG graph of size 1000x1000, and scales the data automatically
code is not pretty but it is working so far ...
Ladislav
9-Jan-2005
[140]
re Round2 - you can do it as follows: round/to number 1e-2
Graham
9-Jan-2005
[141x6]
is that with the old round?
or with the new one?
changed it .. thanks.
if you have IE, you can see the results here: http://www.compkarori.com/vanilla/display/rawlinegraph
You'll probably have to zoom out to see the whole thing.
here's some actual data from my portal .. my BP readings over the 
last 16 days or so ...
http://www.compkarori.com/portal/tests.html
Terry
10-Jan-2005
[147x3]
the example works for me on firefox as well.
that's a nice looking graph if you ask me.
Looks like your BP was a bit crazy when rebol2 went down :)