Changeset 651 for trunk/src/plot_field.m


Ignore:
Timestamp:
Jun 25, 2013, 12:48:10 AM (11 years ago)
Author:
sommeria
Message:

various bugs corrected. Introduction of campaign lists in Open menu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/plot_field.m

    r644 r651  
    353353
    354354%% set the colors of the successive plots (designed to produce rgb for the three components of color images)
    355 ColorOrder=[1 0 0;0 0.5 0;0 0 1;0 0.75 0.75;0.75 0 0.75;0.75 0.75 0;0.25 0.25 0.25];
    356 set(haxes,'ColorOrder',ColorOrder)
     355ColorOrder=[1 0 0;0 1 0;0 0 1;0 0.75 0.75;0.75 0 0.75;0.75 0.75 0;0.25 0.25 0.25];
     356set(hfig,'DefaultAxesColorOrder',ColorOrder)
    357357% if isfield(Coordinates,'NextPlot')
    358358%     set(haxes,'NextPlot',Coordinates.NextPlot)
     
    459459    eval(plotstr)                  %execute plot (instruction  plotstr)
    460460    %%%
    461     set(haxes,'tag',tag)
     461    set(haxes,'tag',tag)% restitute the axes tag (removed by the command plot)
     462    set(haxes,'ColorOrder',ColorOrder)% restitute the plot color order (to get red green blue for histograms or cuts of color images)
    462463    grid(haxes, 'on')
    463464    hxlabel=xlabel(xtitle(1:end-2));% xlabel (removes ', ' at the end)
Note: See TracChangeset for help on using the changeset viewer.