# Plotting

6 messages
Open this post in threaded view
|

## Plotting

 Hello, My problem is that I have a matrice[101;201] of values that I want to plot in 2D dimension using a colormap. Is it possible and how can I do ? Best regards                         Vincent             ,,,                |||                \|/            (o o)              (o o)              (o o)  _______ooO_(_)_Ooo________ooO_(_)_Ooo________ooO_(_)_Ooo________ |                                                                | |  Vincent PAROUX                             | |  GESMA                                       | |  e-mail: [hidden email]               | |________________________________________________________________|         _()     ()_        _()     ()_        _()     ()_        (__)     (__)      (__)     (__)      (__)     (__)
Open this post in threaded view
|

## Re: Plotting

 >>>>> On Fri, 14 Mar 1997 13:47:48 +0100, >>>>> Vincent PAROUX Stagiaire ENIB wrote: > Hello, > My problem is that I have a matrice[101;201] of values that I want to > plot in 2D dimension using a colormap. > Is it possible and how can I do ? There should be a file "image.m" in your octave distribution. ---------------------------------------------------------------------- octave:68> help image image is the function defined from: /usr/local/lib/octave/2.0.5/m/image/image.m  Display an octave image matrix.  image (x) displays a matrix as a color image. The elements of x are  indices into the current colormap and should have values between 1  and the length of the colormap.  image (x, zoom) changes the zoom factor.  The default value is 4.  SEE ALSO: imshow, imagesc, colormap. ---------------------------------------------------------------------- The default colormap consists of 64 gray values. You can change this with the colormap function. Best regards,         Andreas ************************************************************************ *                          Andreas Weingessel                          * ************************************************************************ * Institut für Statistik      *                Tel: (+43 1) 58801 4541 * * Technische Universität Wien *                Fax: (+43 1)  504 14 98 * * Wiedner Hauptstr. 8-10/1071 *     [hidden email] * * A-1040 Wien, Austria        * http://www.ci.tuwien.ac.at/~weingessel * ************************************************************************
Open this post in threaded view
|

## Hard drive crashed!!

 In reply to this post by Vincent PAROUX Stagiaire ENIB I ran 3 octaves in X windows last night. The next day, I found the program half finished with messages saying program error. Then I reboot the system and it won't reboot. Kernel panic. Ran fsck.ext2 to fix the drive, there are unrecoverable errors. What happened could be that the memory (16m) ran out and it did a lot of disk caching and crashed the disk. After fsck failed, I decide to reinstall Linux, all the partition informations are still there, but when I try to format the swap partition, it would run forever (> 10 mins) with some occasional cracking sound ( not the usall noise from WD drive). I then downloaded the Western digital WDDIAG.EXE, it stopped saying error exceeded maximum. WD rep said if the error is <10, then low level format it. Just let you know I learned the lesson the hard way. I would not run more that one copy of octave at the same time any more. guoqiang
Open this post in threaded view
|

## Re: Hard drive crashed!!

 Hello;         This would not really be an octave problem per se, this could have happened with any other swap intensive operation, i would expect.         I assume u are running linux. This might be an important thing to mention on a linux mailing list, because this is more a kernel problem then an application problem, IMHO.         I used to have a problem where i would get a memory leak when i did a lot of plotting from octave with gnuplot. It wouldn't crash my machine tho, it would just run out of swap and kill octave and gnuplot. That problem seems to be gone now, fwiw. ( this was on FreeBSD 2.1.5-RELEASE, with a 386/387 with 12meg of ram ) just my us\$ 0.02 john On Fri, 14 Mar 1997, Lynn Chen wrote: > I ran 3 octaves in X windows last night. The next day, I found the > program half finished with messages saying program error. Then I reboot > the system and it won't reboot. Kernel panic. Ran fsck.ext2 to fix > the drive, there are unrecoverable errors. > > What happened could be that the memory (16m) ran out and it did a lot > of disk caching and crashed the disk. > > After fsck failed, I decide to reinstall Linux, all the partition > informations are still there, but when I try to format the swap > partition, it would run forever (> 10 mins) with some occasional > cracking > sound ( not the usall noise from WD drive). I then downloaded the > Western digital WDDIAG.EXE, it stopped saying error exceeded maximum. > WD rep said if the error is <10, then low level format it. > > Just let you know I learned the lesson the hard way. I would not run > more that one copy of octave at the same time any more. > > guoqiang > *******************************************************************************  John Utz [hidden email]         idiocy is the impulse function in the convolution of life