TABLE OF CONTENTS


multiplot::new_page

SYNOPSIS

    method new_page {} {

USAGE

   $obj new_page

PURPOSE

Increase the page counter and add a snippet for the new page in the Gnuplot script. The plot counter is reset.

SOURCE

        set plot 0
        incr page
        append content [::pwtk::gp::new_page_multiplot $term $page mp $pause $head]\n
        
        if { [::pwtk::gp::pwtk2gp $term] in $::pwtk::gp::gp(file.terminals) } {
            if { $page < 2 && $mp(pp) == 1 } {
                lappend outputs [::pwtk::gp::output $term $head]
            } else {
                lappend outputs [::pwtk::gp::output $term $head $page]
            }
        }
    }