<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, PLOTTING HUGE ARRAYS</title>
    <link>http://www.mapleprimes.com/questions/40928-PLOTTING-HUGE-ARRAYS</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Fri, 12 Jun 2026 10:13:34 GMT</lastBuildDate>
    <pubDate>Fri, 12 Jun 2026 10:13:34 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, PLOTTING HUGE ARRAYS</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, PLOTTING HUGE ARRAYS</title>
      <link>http://www.mapleprimes.com/questions/40928-PLOTTING-HUGE-ARRAYS</link>
    </image>
    <item>
      <title>more details please</title>
      <link>http://www.mapleprimes.com/questions/40928-PLOTTING-HUGE-ARRAYS?ref=Feed:MaplePrimes:PLOTTING HUGE ARRAYS:Comments#answer75923</link>
      <itunes:summary>Maple has no trouble reading large amounts of data from a file.

Converting data to the format needed for pointplot should not be that difficult. For a large collection of data, it would probably be even better to directly create the appropriate PLOT3D data structure (see ?plot3d,structure).

If you can provide a sample of your data, or other details, someone on this list will almost certainly be able to provide more explicit details for how you can create the plot you seek.

Looking forward to learning more about your problem,

Doug
&lt;pre&gt;
---------------------------------------------------------------------
Douglas B. Meade
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu       
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu/~meade/
&lt;/pre&gt;</itunes:summary>
      <description>Maple has no trouble reading large amounts of data from a file.

Converting data to the format needed for pointplot should not be that difficult. For a large collection of data, it would probably be even better to directly create the appropriate PLOT3D data structure (see ?plot3d,structure).

If you can provide a sample of your data, or other details, someone on this list will almost certainly be able to provide more explicit details for how you can create the plot you seek.

Looking forward to learning more about your problem,

Doug
&lt;pre&gt;
---------------------------------------------------------------------
Douglas B. Meade
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu       
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu/~meade/
&lt;/pre&gt;</description>
      <guid>75923</guid>
      <pubDate>Wed, 22 Aug 2007 16:52:12 Z</pubDate>
      <itunes:author>Doug Meade</itunes:author>
      <author>Doug Meade</author>
    </item>
    <item>
      <title>Pointplot</title>
      <link>http://www.mapleprimes.com/questions/40928-PLOTTING-HUGE-ARRAYS?ref=Feed:MaplePrimes:PLOTTING HUGE ARRAYS:Comments#answer75922</link>
      <itunes:summary>What is the format of your input file?  Is it possible to manipulate your data with, say Excel, into rows of corresponding X and Y data arranged in columns? If, so Maple can import such data and a command or two can transform it into the format needed by plots,pointplot.

However, the plot produced by 5000 points will look a bit crowded, so it may be necessary to plot every, say, 100th point.  Again, Maple can do this easily.


J. Tarr</itunes:summary>
      <description>What is the format of your input file?  Is it possible to manipulate your data with, say Excel, into rows of corresponding X and Y data arranged in columns? If, so Maple can import such data and a command or two can transform it into the format needed by plots,pointplot.

However, the plot produced by 5000 points will look a bit crowded, so it may be necessary to plot every, say, 100th point.  Again, Maple can do this easily.


J. Tarr</description>
      <guid>75922</guid>
      <pubDate>Wed, 22 Aug 2007 16:55:17 Z</pubDate>
      <itunes:author>Mariner</itunes:author>
      <author>Mariner</author>
    </item>
    <item>
      <title>Statistics:-PointPlot</title>
      <link>http://www.mapleprimes.com/questions/40928-PLOTTING-HUGE-ARRAYS?ref=Feed:MaplePrimes:PLOTTING HUGE ARRAYS:Comments#answer75920</link>
      <itunes:summary>Have you looked at Statistics:-PointPlot?  If &lt;code&gt;x&lt;/code&gt; and &lt;code&gt;y&lt;/code&gt; are lists, then 
&lt;code&gt;Statistics:-PointPlot(y,xcoords=x)&lt;/code&gt;
should work well.  I just tried it with 5000 points (in Maple&amp;nbsp;11), and it worked fine; response time was &amp;lt;2 seconds.</itunes:summary>
      <description>Have you looked at Statistics:-PointPlot?  If &lt;code&gt;x&lt;/code&gt; and &lt;code&gt;y&lt;/code&gt; are lists, then 
&lt;code&gt;Statistics:-PointPlot(y,xcoords=x)&lt;/code&gt;
should work well.  I just tried it with 5000 points (in Maple&amp;nbsp;11), and it worked fine; response time was &amp;lt;2 seconds.</description>
      <guid>75920</guid>
      <pubDate>Wed, 22 Aug 2007 19:06:36 Z</pubDate>
      <itunes:author>DJKeenan</itunes:author>
      <author>DJKeenan</author>
    </item>
    <item>
      <title>Sorry, wrong question</title>
      <link>http://www.mapleprimes.com/questions/40928-PLOTTING-HUGE-ARRAYS?ref=Feed:MaplePrimes:PLOTTING HUGE ARRAYS:Comments#answer75915</link>
      <itunes:summary>WOW..you guys are GREAT...i'm impressed with the speed and helpfulness of your responses.

I actually realized that I asked the wrong question though..

What I have is a text file in VI, with two columns full of numbers, like:

R1 R2  
1..2.4
2..2.5
3..9.6

I want to create a 3rd and 4th column (R3 and R4), where R3=1/R1^2
and R4 = some complicated function of R2 and R1.

Then I want to plot R4 vs R3!

  I am used to using Tecplot for Unix, and it reads my datafile perfectly and the 3rd and 4th columns are computed and plotted..but tecplot only keeps a certain number of digits when doing its computations, so my 4th column is not as accurate as I need.

So I was wondering if Maple could read my datafile in the format that it's in and recognize the fact that there's two columns worth of information, and if I could do calculations on those columns.

I tried writing a program in FORTRAN 77 to do these calculations, but although I'm fully familiar with the logic, I am having trouble with the programming language.

I am aware of the fact that Excel can EASILY make the 3rd and 4th columns using the formula function, but I was wondering if Maple could do it as well.


Thanks a lot guys!</itunes:summary>
      <description>WOW..you guys are GREAT...i'm impressed with the speed and helpfulness of your responses.

I actually realized that I asked the wrong question though..

What I have is a text file in VI, with two columns full of numbers, like:

R1 R2  
1..2.4
2..2.5
3..9.6

I want to create a 3rd and 4th column (R3 and R4), where R3=1/R1^2
and R4 = some complicated function of R2 and R1.

Then I want to plot R4 vs R3!

  I am used to using Tecplot for Unix, and it reads my datafile perfectly and the 3rd and 4th columns are computed and plotted..but tecplot only keeps a certain number of digits when doing its computations, so my 4th column is not as accurate as I need.

So I was wondering if Maple could read my datafile in the format that it's in and recognize the fact that there's two columns worth of information, and if I could do calculations on those columns.

I tried writing a program in FORTRAN 77 to do these calculations, but although I'm fully familiar with the logic, I am having trouble with the programming language.

I am aware of the fact that Excel can EASILY make the 3rd and 4th columns using the formula function, but I was wondering if Maple could do it as well.


Thanks a lot guys!</description>
      <guid>75915</guid>
      <pubDate>Thu, 23 Aug 2007 02:41:19 Z</pubDate>
      <itunes:author>ndattani</itunes:author>
      <author>ndattani</author>
    </item>
    <item>
      <title>Reading Data Files</title>
      <link>http://www.mapleprimes.com/questions/40928-PLOTTING-HUGE-ARRAYS?ref=Feed:MaplePrimes:PLOTTING HUGE ARRAYS:Comments#answer75914</link>
      <itunes:summary>On my PC, in the temp directory, I created a test filed called testdata2.dat.  The file looks like this if you open it.

&lt;code&gt;R1        R2
0.4059    61.155616
0.406     67.890816
0.4061    71.123712
0.4062    71.39312
0.4063    69.911376
0.4064    67.082592
0.4065    64.119104
0.4066    61.425024
0.4067    59.404464
0.4068    58.326832
0.4069    58.326832
0.4070    59.000352&lt;/code&gt;

In Maple, I read it in like this:

&gt;restart:
&gt;RD:=readdata(`c:/temp/testdata2.dat`,2);
&gt;RD;
&gt;nops(RD);
&gt;X:=[seq(RD[i,1],i=1..nops(RD))];
&gt;Y:=[seq(RD[i,2],i=1..nops(RD))];

Now you can process the X and Y data to create new variables as you see fit.




&lt;em&gt;Regards,
Georgios Kokovidis
Dräger Medical&lt;/em&gt;</itunes:summary>
      <description>On my PC, in the temp directory, I created a test filed called testdata2.dat.  The file looks like this if you open it.

&lt;code&gt;R1        R2
0.4059    61.155616
0.406     67.890816
0.4061    71.123712
0.4062    71.39312
0.4063    69.911376
0.4064    67.082592
0.4065    64.119104
0.4066    61.425024
0.4067    59.404464
0.4068    58.326832
0.4069    58.326832
0.4070    59.000352&lt;/code&gt;

In Maple, I read it in like this:

&gt;restart:
&gt;RD:=readdata(`c:/temp/testdata2.dat`,2);
&gt;RD;
&gt;nops(RD);
&gt;X:=[seq(RD[i,1],i=1..nops(RD))];
&gt;Y:=[seq(RD[i,2],i=1..nops(RD))];

Now you can process the X and Y data to create new variables as you see fit.




&lt;em&gt;Regards,
Georgios Kokovidis
Dräger Medical&lt;/em&gt;</description>
      <guid>75914</guid>
      <pubDate>Thu, 23 Aug 2007 03:31:08 Z</pubDate>
      <itunes:author>gkokovidis</itunes:author>
      <author>gkokovidis</author>
    </item>
    <item>
      <title>zip and map</title>
      <link>http://www.mapleprimes.com/questions/40928-PLOTTING-HUGE-ARRAYS?ref=Feed:MaplePrimes:PLOTTING HUGE ARRAYS:Comments#answer75913</link>
      <itunes:summary>Continuing Georgios' comments, here is how I would suggest combining the lists X and Y to create new columns.

&lt;pre&gt;
R3 := map( x-&gt;1/x^2, X );
R4 := zip( (x,y)-&gt;F(x,y), X, Y );
&lt;/pre&gt;

where F(x,y) is the appropriate "complicated function of R2 and R1".

There are other ways to do this, but using map and zip is much more efficient than an explicit loop.

You can now plot the appropriate lists using the previously suggested methods.

Doug
&lt;pre&gt;
---------------------------------------------------------------------
Douglas B. Meade
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu       
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu/~meade/
&lt;/pre&gt;</itunes:summary>
      <description>Continuing Georgios' comments, here is how I would suggest combining the lists X and Y to create new columns.

&lt;pre&gt;
R3 := map( x-&gt;1/x^2, X );
R4 := zip( (x,y)-&gt;F(x,y), X, Y );
&lt;/pre&gt;

where F(x,y) is the appropriate "complicated function of R2 and R1".

There are other ways to do this, but using map and zip is much more efficient than an explicit loop.

You can now plot the appropriate lists using the previously suggested methods.

Doug
&lt;pre&gt;
---------------------------------------------------------------------
Douglas B. Meade
Math, USC, Columbia, SC 29208  E-mail: mailto:meade@math.sc.edu       
Phone:  (803) 777-6183         URL:    http://www.math.sc.edu/~meade/
&lt;/pre&gt;</description>
      <guid>75913</guid>
      <pubDate>Thu, 23 Aug 2007 04:10:21 Z</pubDate>
      <itunes:author>Doug Meade</itunes:author>
      <author>Doug Meade</author>
    </item>
  </channel>
</rss>