Hi guys,

always in my tests and reflxions about plotting curves! I wonder which of the 
objects is adequate for ploting curves? I tried evas_object_image, but when I 
plot a curve and I resize the window with the mouse, the pixel representing the 
data point is also resized. This is not what I want. Is there a purpose to do 
so? i.e an object which when I plot a curve on it (every data point in the 
curve is then represented with one pixel) and then resize the widow, the data 
point remaine represented with one pixel.

my apologies for my bad English !!

----- Mail Original -----
De: noma...@free.fr
À: "ewl_dev" <enlightenment-devel@lists.sourceforge.net>
Envoyé: Jeudi 30 Juillet 2009 12h50:07 GMT +01:00 Amsterdam / Berlin / Berne / 
Rome / Stockholm / Vienne
Objet: Re: [E-devel] ploting data

Library of functions is good idee, so we can call them from programmes doing 
calculus to plot resulting data and they can also be used to build an 
independant interface to plot data files.

my knowledge is far from requiring the construction of a library. I am 
therefore on my first idea, it allows me to learn EFL.

----- Mail Original -----
De: "Peter Wehrfritz" <peter.wehrfr...@web.de>
À: noma...@free.fr
Cc: "ewl_dev" <enlightenment-devel@lists.sourceforge.net>
Envoyé: Mercredi 29 Juillet 2009 19h58:42 GMT +01:00 Amsterdam / Berlin / Berne 
/ Rome / Stockholm / Vienne
Objet: Re: [E-devel] ploting data

noma...@free.fr schrieb:
> Hi guys
>
> I began to reflect on the problem of drawing a table of values following
> the ideas given by Vincent and Gustavo. I wrote 
> something which is still archaic (I warned you, in terms of programming
> I have the age of an infant)
>
> let me explain the procedure:
>
> the app window is W x H pixels.
>
> The ploting area is of W-XG x H-YG, begining at XG,YG.
>
> Creates 2 evas_images (W-XG x H-YG):
> The first supports the points (x_i, y_i), the axes oX, oY, and the graduations
> the second supports the gride
>
> we need to transform the set of values due to the orientation of axes
> and the origin of coordinates.
>
> In this transformation we only use 75% of the ploting area.
>
> Usage of the programme :
>
> ./prg datafile [pt] [motif]
>
> if pt null, then dont plot lines between points
> motif = c, p, l, s (cross, plus, losange, stars)
>
> I need lotof help:
>   
I don't know how you drawing the points or the lines, but I started to 
write a little plotting library, some months ago, unfortunately I didn't 
found the time to work on it futher, but I still plan to do it. Hence it 
lacks on many places, in fact it isn't a library at all atm. It's using 
cario as back-end, so you can plot in any cairo surface, also into a buffer.

http://code.google.com/p/complot/source/checkout
> I create with the aide of embed some ewl_butons (open data, save, help, zoom).
>
> How can I attache a callback which reads a datafile (pointer to datafile).
>   
You do not need a callback to read a data file. Use fread or fgets.
> I can not find how to handle from a EVAS, other window (ewl or evas).
>   

Sorry, what do you want to handle?
> thank you to anyone who can give me an example.
>
> Last question Can'I publish the programme here for discussion?
>   

If it is short yes, of course. If it is already longer, you can upload 
it somewhere else, and only post a link to it.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to