Re: OT: Converter matrix to picture

2006-02-04 Thread John Pye
Hi Paul Just to specify a bit, you should take a look at the 'spy' and 'spy2' commands from matplotlib JP Paul Smith wrote: On 2/3/06, John Pye [EMAIL PROTECTED] wrote: You should try Matplotlib under python. You've got a lot of the MATLAB functionality re-implemented in python.

Re: OT: Converter matrix to picture

2006-02-04 Thread John Pye
Hi Paul Just to specify a bit, you should take a look at the 'spy' and 'spy2' commands from matplotlib JP Paul Smith wrote: On 2/3/06, John Pye [EMAIL PROTECTED] wrote: You should try Matplotlib under python. You've got a lot of the MATLAB functionality re-implemented in python.

Re: OT: Converter matrix to picture

2006-02-04 Thread John Pye
Hi Paul Just to specify a bit, you should take a look at the 'spy' and 'spy2' commands from matplotlib JP Paul Smith wrote: On 2/3/06, John Pye <[EMAIL PROTECTED]> wrote: You should try Matplotlib under python. You've got a lot of the MATLAB functionality re-implemented in python.

Re: OT: Converter matrix to picture

2006-02-03 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: Yes, that is what I mean. An illustration is at http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An

Re: OT: Converter matrix to picture

2006-02-03 Thread John Pye
You should try Matplotlib under python. You've got a lot of the MATLAB functionality re-implemented in python. http://matplotlib.sourceforge.net/ There is a sample sparsity diagram that I produced, see here (scroll down to near the bottom) https://pse.cheme.cmu.edu/wiki/view/Ascend/PythonWrapper

Re: OT: Converter matrix to picture

2006-02-03 Thread Paul Smith
On 2/3/06, Herbert Voss [EMAIL PROTECTED] wrote: tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An example of a data file is attached. It is a text file with a matrix. Each column corresponds to x-coordinate, whereas each row corresponds to

Re: OT: Converter matrix to picture

2006-02-03 Thread Paul Smith
On 2/3/06, John Pye [EMAIL PROTECTED] wrote: You should try Matplotlib under python. You've got a lot of the MATLAB functionality re-implemented in python. http://matplotlib.sourceforge.net/ There is a sample sparsity diagram that I produced, see here (scroll down to near the bottom)

Re: OT: Converter matrix to picture

2006-02-03 Thread Herbert Voss
Paul Smith wrote: On 2/3/06, Herbert Voss [EMAIL PROTECTED] wrote: tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An example of a data file is attached. It is a text file with a matrix. Each column corresponds to x-coordinate, whereas each

Re: OT: Converter matrix to picture

2006-02-03 Thread Paul Smith
On 2/3/06, Herbert Voss [EMAIL PROTECTED] wrote: Great, Herbert! That is it. Maybe, a spy-like command could be added to the list of commands of PSTricks. Well, that is just a suggestion... let's see ... However, I was a bit too clever ... the textfile should be with a first and last

Re: OT: Converter matrix to picture

2006-02-03 Thread Andre Poenitz
On Thu, Feb 02, 2006 at 12:35:14PM +, Paul Smith wrote: Dear All This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of

Re: OT: Converter matrix to picture

2006-02-03 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: Yes, that is what I mean. An illustration is at http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An

Re: OT: Converter matrix to picture

2006-02-03 Thread John Pye
You should try Matplotlib under python. You've got a lot of the MATLAB functionality re-implemented in python. http://matplotlib.sourceforge.net/ There is a sample sparsity diagram that I produced, see here (scroll down to near the bottom) https://pse.cheme.cmu.edu/wiki/view/Ascend/PythonWrapper

Re: OT: Converter matrix to picture

2006-02-03 Thread Paul Smith
On 2/3/06, Herbert Voss [EMAIL PROTECTED] wrote: tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An example of a data file is attached. It is a text file with a matrix. Each column corresponds to x-coordinate, whereas each row corresponds to

Re: OT: Converter matrix to picture

2006-02-03 Thread Paul Smith
On 2/3/06, John Pye [EMAIL PROTECTED] wrote: You should try Matplotlib under python. You've got a lot of the MATLAB functionality re-implemented in python. http://matplotlib.sourceforge.net/ There is a sample sparsity diagram that I produced, see here (scroll down to near the bottom)

Re: OT: Converter matrix to picture

2006-02-03 Thread Herbert Voss
Paul Smith wrote: On 2/3/06, Herbert Voss [EMAIL PROTECTED] wrote: tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An example of a data file is attached. It is a text file with a matrix. Each column corresponds to x-coordinate, whereas each

Re: OT: Converter matrix to picture

2006-02-03 Thread Paul Smith
On 2/3/06, Herbert Voss [EMAIL PROTECTED] wrote: Great, Herbert! That is it. Maybe, a spy-like command could be added to the list of commands of PSTricks. Well, that is just a suggestion... let's see ... However, I was a bit too clever ... the textfile should be with a first and last

Re: OT: Converter matrix to picture

2006-02-03 Thread Andre Poenitz
On Thu, Feb 02, 2006 at 12:35:14PM +, Paul Smith wrote: Dear All This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of

Re: OT: Converter matrix to picture

2006-02-03 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Herbert Voss <[EMAIL PROTECTED]> wrote: Yes, that is what I mean. An illustration is at http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An

Re: OT: Converter matrix to picture

2006-02-03 Thread John Pye
You should try Matplotlib under python. You've got a lot of the MATLAB functionality re-implemented in python. http://matplotlib.sourceforge.net/ There is a sample sparsity diagram that I produced, see here (scroll down to near the bottom) https://pse.cheme.cmu.edu/wiki/view/Ascend/PythonWrapper

Re: OT: Converter matrix to picture

2006-02-03 Thread Paul Smith
On 2/3/06, Herbert Voss <[EMAIL PROTECTED]> wrote: > >>tell me the structure of your data file? > >>Are the values also saved as a matrix? > > > > Thanks to all. An example of a data file is attached. It is a text > > file with a matrix. Each column corresponds to x-coordinate, whereas > > each

Re: OT: Converter matrix to picture

2006-02-03 Thread Paul Smith
On 2/3/06, John Pye <[EMAIL PROTECTED]> wrote: > You should try Matplotlib under python. You've got a lot of the MATLAB > functionality re-implemented in python. > http://matplotlib.sourceforge.net/ > > There is a sample sparsity diagram that I produced, see here (scroll > down to near the bottom)

Re: OT: Converter matrix to picture

2006-02-03 Thread Herbert Voss
Paul Smith wrote: On 2/3/06, Herbert Voss <[EMAIL PROTECTED]> wrote: tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An example of a data file is attached. It is a text file with a matrix. Each column corresponds to x-coordinate, whereas each

Re: OT: Converter matrix to picture

2006-02-03 Thread Paul Smith
On 2/3/06, Herbert Voss <[EMAIL PROTECTED]> wrote: > > Great, Herbert! That is it. Maybe, a "spy-like" command could be added > > to the list of commands of PSTricks. Well, that is just a > > suggestion... > > let's see ... > > However, I was a bit too clever ... > the textfile should be with a

Re: OT: Converter matrix to picture

2006-02-03 Thread Andre Poenitz
On Thu, Feb 02, 2006 at 12:35:14PM +, Paul Smith wrote: > Dear All > > This may be a bit out of topic. I have a matrix of ones and zeros with > which I would like to produce a picture in such a way that the ones > would be represented in black, say, and the zeros in yellow. Does > somebody

Re: OT: Converter matrix to picture

2006-02-02 Thread Kevin Pfeiffer
Paul Smith writes: Dear All This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for Linux) to create my

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for Linux) to create my picture? what kind

Re: OT: Converter matrix to picture

2006-02-02 Thread Stephen Buonopane
On Feb 2, 2006, at 9:00 AM, Herbert Voss wrote: Paul Smith wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for Linux)

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Stephen Buonopane [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Stephen Buonopane [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of

Re: OT: Converter matrix to picture

2006-02-02 Thread Stephen Buonopane
On 2/2/06, Stephen Buonopane [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for

Re: OT: Converter matrix to picture

2006-02-02 Thread Kevin Pfeiffer
Paul Smith writes: Yes, that is what I mean. An illustration is at http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html Having not looked at Herbert's suggestion, I am now quite confused (as I would have guessed that that is what it does). It seems you simply want to plot

Re: OT: Converter matrix to picture

2006-02-02 Thread Marc Vinyals
En/na Stephen Buonopane ha escrit: On 2/2/06, Stephen Buonopane [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow.

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: Yes, that is what I mean. An illustration is at http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An example of a data file is

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Paul Smith [EMAIL PROTECTED] wrote: Yes, that is what I mean. An illustration is at http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An example of a data

Re: OT: Converter matrix to picture

2006-02-02 Thread Kevin Pfeiffer
Paul Smith writes: Dear All This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for Linux) to create my

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for Linux) to create my picture? what kind

Re: OT: Converter matrix to picture

2006-02-02 Thread Stephen Buonopane
On Feb 2, 2006, at 9:00 AM, Herbert Voss wrote: Paul Smith wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for Linux)

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Stephen Buonopane [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Stephen Buonopane [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of

Re: OT: Converter matrix to picture

2006-02-02 Thread Stephen Buonopane
On 2/2/06, Stephen Buonopane [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for

Re: OT: Converter matrix to picture

2006-02-02 Thread Kevin Pfeiffer
Paul Smith writes: Yes, that is what I mean. An illustration is at http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html Having not looked at Herbert's suggestion, I am now quite confused (as I would have guessed that that is what it does). It seems you simply want to plot

Re: OT: Converter matrix to picture

2006-02-02 Thread Marc Vinyals
En/na Stephen Buonopane ha escrit: On 2/2/06, Stephen Buonopane [EMAIL PROTECTED] wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow.

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Herbert Voss [EMAIL PROTECTED] wrote: Yes, that is what I mean. An illustration is at http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An example of a data file is

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Paul Smith [EMAIL PROTECTED] wrote: Yes, that is what I mean. An illustration is at http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html tell me the structure of your data file? Are the values also saved as a matrix? Thanks to all. An example of a data

Re: OT: Converter matrix to picture

2006-02-02 Thread Kevin Pfeiffer
Paul Smith writes: > Dear All > > This may be a bit out of topic. I have a matrix of ones and zeros > with which I would like to produce a picture in such a way that the > ones would be represented in black, say, and the zeros in yellow. > Does somebody know of a program (for Linux) to create my

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for Linux) to create my picture? what kind

Re: OT: Converter matrix to picture

2006-02-02 Thread Stephen Buonopane
On Feb 2, 2006, at 9:00 AM, Herbert Voss wrote: Paul Smith wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Herbert Voss <[EMAIL PROTECTED]> wrote: > > This may be a bit out of topic. I have a matrix of ones and zeros with > > which I would like to produce a picture in such a way that the ones > > would be represented in black, say, and the zeros in yellow. Does > > somebody know of a program

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Herbert Voss <[EMAIL PROTECTED]> wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Herbert Voss <[EMAIL PROTECTED]> wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Herbert Voss <[EMAIL PROTECTED]> wrote: > >>>This may be a bit out of topic. I have a matrix of ones and zeros with > >>>which I would like to produce a picture in such a way that the ones > >>>would be represented in black, say, and the zeros in yellow. Does > >>>somebody know of a

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Stephen Buonopane <[EMAIL PROTECTED]> wrote: > >> This may be a bit out of topic. I have a matrix of ones and zeros with > >> which I would like to produce a picture in such a way that the ones > >> would be represented in black, say, and the zeros in yellow. Does > >> somebody know of

Re: OT: Converter matrix to picture

2006-02-02 Thread Herbert Voss
Paul Smith wrote: On 2/2/06, Stephen Buonopane <[EMAIL PROTECTED]> wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know

Re: OT: Converter matrix to picture

2006-02-02 Thread Stephen Buonopane
On 2/2/06, Stephen Buonopane <[EMAIL PROTECTED]> wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow. Does somebody know of a program (for

Re: OT: Converter matrix to picture

2006-02-02 Thread Kevin Pfeiffer
Paul Smith writes: > Yes, that is what I mean. An illustration is at > > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html Having not looked at Herbert's suggestion, I am now quite confused (as I would have guessed that that is what it does). It seems you simply want to plot

Re: OT: Converter matrix to picture

2006-02-02 Thread Marc Vinyals
En/na Stephen Buonopane ha escrit: On 2/2/06, Stephen Buonopane <[EMAIL PROTECTED]> wrote: This may be a bit out of topic. I have a matrix of ones and zeros with which I would like to produce a picture in such a way that the ones would be represented in black, say, and the zeros in yellow.

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Herbert Voss <[EMAIL PROTECTED]> wrote: > > Yes, that is what I mean. An illustration is at > > > > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html > > tell me the structure of your data file? > Are the values also saved as a matrix? Thanks to all. An example of a

Re: OT: Converter matrix to picture

2006-02-02 Thread Paul Smith
On 2/2/06, Paul Smith <[EMAIL PROTECTED]> wrote: > > > Yes, that is what I mean. An illustration is at > > > > > > http://www.mathworks.com/access/helpdesk/help/techdoc/ref/spy.html > > > > tell me the structure of your data file? > > Are the values also saved as a matrix? > > Thanks to all. An