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
[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 :)
Graham
10-Jan-2005
[150x4]
holiday made my BP fall ...
using the code I posted above, my portal is now generating dynamic 
svg graphs
I think I should change the code a bit .. as if all the readings 
are distributed near the top of the y axis, then the bottom of the 
graph looks barren.
I reinstalled the official firefox 1.0 release .. still no go.
Terry
10-Jan-2005
[154]
do you have the adobe 3 installed as well?
Graham
10-Jan-2005
[155]
adobe 3??
Terry
10-Jan-2005
[156]
http://www.adobe.com/svg/overview/whatsnew.html
Scott
10-Jan-2005
[157]
Link is down as of Monday AM, Central Standard: http://www.compkarori.com/portal/tests.html
DideC
10-Jan-2005
[158]
What is the OS of your web server ?
Graham
10-Jan-2005
[159x3]
works for me ...
Solaris .. hosted in Texas.
what does translate 2x2 do in agg-view?  Does it add 2x2 to each 
point until ..a new pen is used?
Gabriele
10-Jan-2005
[162x2]
it translates the coordinate space by 2x2 (by changing the tranformation 
matrix)
so basically it adds 2x2 to each coordinate, until you change the 
matrix again.
eFishAnt
11-Jan-2005
[164x2]
I am looking for some good dirty? reading...
how do AREA and FIELD handle dirty?
DideC
11-Jan-2005
[166x3]
With anamonitor :
system/view/screen-face/feel/event-funcs/1: func [face event /local 
fac][
    if all [
        system/view/focal-face 
        event/type = 'down 

        not within? event/offset win-offset? system/view/focal-face system/view/focal-face/size 
        system/view/focal-face/dirty?] [
        fac: system/view/focal-face 
        unfocus 
        if flag-face? fac on-unfocus [
            do-face fac none 
            fac/dirty?: none]] 
    event]
the flag is set by each function that modified the series. It's in 
ctx-text (insert-char, edit-text for the most).
eFishAnt
11-Jan-2005
[169]
thanks, DideC
james_nak
12-Jan-2005
[170]
Hello, I'd like to create a data window like the one you're looking 
at now. This isn't an "area" gadget is it? I've created a "list" 
out of an area but each row is the same height regardless of content 
and it crashes a lot if I try to scroll the individual rows. Any 
suggestions?