I still have no idea what a .dat file is. If it's plain ascii, or a  
simple binary format, I'm sure Sage could do it with little difficulty.

- Robert


On Sep 5, 2009, at 1:26 PM, Afonso Henriques Silva Leite wrote:

> Does the mathematica file will help you?
> It is attached.
>
> Else, I also included an eps version of it (for the case you don't  
> have
> Mathematica installed...).
> What's important on it: prfd[omega_] and pifd[omega_] are the  
> functions
> definitions (it doesn't matter), the SetDirectory command set the
> directory  I exported the .dat file, and the Export command did the  
> hard
> work: it exported a table with two columns, the first element is i, an
> iterator variable, and the second one is prfd[i], the function applied
> in it. The iterator variable i assumes values from -a (which  
> definition
> doesn't appear on the eps file, but is defined on the Mathematica
> file, .nb) to a, with an increase of a/500 units, to produce 1000
> points. It's a cool way to make a .dat file, because is so easy,  
> and if
> it would be possible to do it in sage, I would abandon mathematica...
>
> On Fri, 2009-09-04 at 15:42 -0500, Jason Grout wrote:
>> Afonso Henriques Silva Leite wrote:
>>> Hi, everyone!!!
>>> Does anybody had to generate and export a .dat file to create a  
>>> graphic
>>> in another program like xmgrace, to use a more appropriate  
>>> program to
>>> make graphics?
>>> I used to do this in Mathematica: with a "for" loop to generate a  
>>> matrix
>>> with the abscissa and coordinate points as elements, and then  
>>> printed it
>>> as a .dat file.
>>> It's possible to do something like this in sage?
>>
>>
>> This is most likely very easy to do.
>>
>> Can you give a more specific example?  Maybe a function and an  
>> example
>> .dat file?  (and maybe an example of the graph---maybe it's already
>> possible to generate such a graph in Sage).
>>
>> Thanks,
>>
>> Jason
>>
>>
>>>
>
> >
> <Gerador.nb><Grafico2.eps>


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to