This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Draw nucleotide trace plots


traceplot(A, C, G, T)
h = traceplot(...)


traceplot(TraceStructure) creates a trace plot from data in a structure with fields A, C, G, and T.

traceplot(A, C, G, T) creates a trace plot from data in vectors A, C, G, and T.

h = traceplot(...) returns a structure with the handles of the lines corresponding to A, C, G, T.


  1. Read trace data from an SCF-formatted file into a MATLAB® structure.

    tstruct = scfread('sample.scf')
    tstruct = 
        A: [10827x1 double]
        C: [10827x1 double]
        G: [10827x1 double]
        T: [10827x1 double]
  2. Draw a nucleotide trace plot of the data.


See Also

Introduced before R2006a