Changeset 1147


Ignore:
Timestamp:
Aug 1, 2010, 11:56:01 PM (9 years ago)
Author:
Peter Johansson
Message:

transparent background in plot also in png. refs #436

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8-stable/lib/Graph.cc

    r1126 r1147  
    4343    legend_.reserve(10);
    4444    // we use color map 0 position 0 for background color
    45     if (format=="png")
    46       pls_.scolbg(255,255,255);
    47     else
    48       pls_.scolbga(255,255,255,0);
     45    pls_.scolbga(255,255,255,0);
    4946    pls_.setopt("geometry", "600x500");
    5047    pls_.init();
Note: See TracChangeset for help on using the changeset viewer.