[Gretl-users] changing graph size

2012-08-05 Thread Logan Kelly
I need to change the size of a plot so that the text and line will be the correct size in my LaTeX document. I prefer to give LaTeX the correctly sized figure rather than scaling in LaTeX. I have writen a script that generates a GNUPLOT gp file. But the following command generates an error: set

Re: [Gretl-users] changing graph size

2012-08-05 Thread Allin Cottrell
On Sun, 5 Aug 2012, Logan Kelly wrote: > I need to change the size of a plot so that the text and > line will be the correct size in my LaTeX document. I prefer > to give LaTeX the correctly sized figure rather than scaling > in LaTeX. I have writen a script that generates a GNUPLOT gp > file.

Re: [Gretl-users] Gretl-users Digest, Vol 67, Issue 8

2012-08-05 Thread clarodina clarodina
Allin, Tks know for using the loop the d6 must be > d1 a what if there is a d5 column and want to loop against the other columns d1 to d3 ? t these columns are < and are not process and the csv file must be ajust the column d3 to the first column is there a method to autothe adjustment? and

Re: [Gretl-users] Feature Request: ODBC import as matrix

2012-08-05 Thread Allin Cottrell
On Sun, 5 Aug 2012, Allin Cottrell wrote: > On Sun, 5 Aug 2012, Pindar wrote: > >> I tried a promising workaround for the 'matrix stuff'. However, there is >> still a major obstacle: >> data ... --odbc isn't allowed within a loop. > > Hmm, I can't offhand see any reason why that should be > di

Re: [Gretl-users] Access elements of a list

2012-08-05 Thread Allin Cottrell
On Sun, 5 Aug 2012, Allin Cottrell wrote: > On Sat, 4 Aug 2012, Logan Kelly wrote: > >> Is it possible to access elements of a list. I need the variable name-as a >> string-of the i_th element of a list. Something like >> >> string variable_name = varnam(ylist[i]) > > You can't directly index in

Re: [Gretl-users] Access elements of a list

2012-08-05 Thread Ignacio Diaz-Emparanza
2012/8/4 Logan Kelly > Is it possible to access elements of a list. I need the variable name—as > a string—of the i_th element of a list. Something like > > string variable_name = varnam(ylist[i]) > > Thanks, > > Logan Kelly > > > ___ > Gretl-users mai

Re: [Gretl-users] Feature Request: ODBC import as matrix

2012-08-05 Thread Pindar
Hi all, I tried a promising workaround for the 'matrix stuff'. However, there is still a major obstacle: data ... --odbc isn't allowed within a loop. Up until now for one period I use loops to generate the SQL statements and have a bunch of data statements right after the loop. This will shor

Re: [Gretl-users] Gretl-users Digest, Vol 67, Issue 6

2012-08-05 Thread Allin Cottrell
On Sun, 5 Aug 2012, clarodina clarodina wrote: > Have a csv file having 25 columns d1 to d25 > > Trying to do a loop aginst the columns > > scalar lo1=d1 You cannot assign a series (d1) as the content of a scalar variable (lo1), that simply does not make sense. If you want to loop across the se

Re: [Gretl-users] Feature Request: ODBC import as matrix

2012-08-05 Thread Allin Cottrell
On Sun, 5 Aug 2012, Pindar wrote: > I tried a promising workaround for the 'matrix stuff'. However, there is > still a major obstacle: > data ... --odbc isn't allowed within a loop. Hmm, I can't offhand see any reason why that should be disallowed. I'll check into it. Allin Cottrell

Re: [Gretl-users] Access elements of a list

2012-08-05 Thread Allin Cottrell
On Sat, 4 Aug 2012, Logan Kelly wrote: > Is it possible to access elements of a list. I need the variable > name-as a string-of the i_th element of a list. Something like > > string variable_name = varnam(ylist[i]) You can't directly index into a list but -- if the idiomatic form of a "foreach"

Re: [Gretl-users] Gretl-users Digest, Vol 67, Issue 6

2012-08-05 Thread clarodina clarodina
Have a csv file having 25 columns d1 to d25 Trying to do a loop aginst the columns scalar lo1=d1 scaler lo2=d2 . . . . . scaler lo25=d25 Loop k=lo1..lo6 Loop m=lo6..lo12 but give a error directly loop k=d1..d6 also give error how to reference the columns Have a csv file having 25 column