[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: Plot Matrix in Octave

**From**: |
James Sherman Jr. |

**Subject**: |
Re: Plot Matrix in Octave |

**Date**: |
Mon, 12 Nov 2007 13:40:29 -0500 |

I'm at a loss as to how do to this in octave (well at least through
gnuplot), maybe someone more clever than I knows how to do this.
On the other hand, I'd suggest possibly looking into using octave to
automatically generate something like a .fig file for use in xfig.
The .fig files are simply ascii files that just list all the objects
and their associated properties. I'd make the initial figure using
xfig but instead of numbers make some placeholders that you will
replace by the entries in the matrix in octave.
Depending on how flexible you need it to be, this might be too much
work, but this is the simplest way I know that you could automatically
generate those images.
James
On Nov 12, 2007 12:35 PM, Bratsch <address@hidden> wrote:
>
>* Hello everyone. I am new in this forum and I hope that someone can help me :)*
>
>* I have to visualize the path of the longest common substring in a matrix.*
>* But I don't get it to draw, plot or whatever the matrix containing values.*
>* And the path is also a big problem.*
>
>* It should look like this picture:*
>* http://www.nabble.com/file/p13710192/alignment5.gif*
>
>
>* Is it possible in Octave to plot a matrix f.e. A = [1,2,3,4; 2,3,4,5;*
>* 3,4,5,6; 4,5,6,7] with the red path like it is shown in the picture?*
>* And is it possible to mark the matrix with the letters T, A, A, G,.. like it*
>* is done in the picture?*
>
>* If someone could help me would be perfect. Thanks in advance*
>
>* Bye*
>* --*
>* View this message in context: *
>* http://www.nabble.com/Plot-Matrix-in-Octave-tf4792617.html#a13710192*
>* Sent from the Octave - General mailing list archive at Nabble.com.*
>
>* _______________________________________________*
>* Help-octave mailing list*
>* address@hidden*
>* https://www.cae.wisc.edu/mailman/listinfo/help-octave*
>