lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About @Graph and datas


From: Dominique Crétel
Subject: Re: About @Graph and datas
Date: Thu, 24 Mar 2011 22:55:14 +0100

Jeff,

Yes, it's ok with this command. Thanks.
Here is an example for people interest to try it..
The data file named "pipo.d" :
---------------
0 0
1 1
2 4
3 9
4 16
5 25
6 36
7 49
8 64
9 81
10 100
---------------
And the lout code named "pipo.lout":
---------------
@SysInclude { graph }
@SysInclude { doc }
@Doc @Text @Begin
@Graphs
{
    @Data points { plus } pairs { dashed }
    { 
        @Include { graph_include.d }
    }
}
@End @Text
---------------

Dominique


Le 24 mars 2011 à 22:20, Jeff Kingston a écrit :

> Dominique,
> 
> I haven't tried it, but you should be able to use @Include to
> include a file of data, just like you use it to include a
> chapter or whatever.
> 
> If you've never used @Include, you'll find it in the
> large-scale structure section of the guide.
> 
> Jeff
> 
> On Thu, Mar 24, 2011 at 02:26:37AM +0100, Dominique Cr?tel wrote:
>> Hello,
>> 
>> I would like to know if it is possible to draw some graph with datas coming 
>> from a file instead of copying them into the lout source code?
>> Thanks
>> 
>> Dominique
>> 
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]