octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43292] Cannot change figure properties


From: anonymous
Subject: [Octave-bug-tracker] [bug #43292] Cannot change figure properties
Date: Wed, 24 Sep 2014 09:53:27 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0

URL:
  <http://savannah.gnu.org/bugs/?43292>

                 Summary: Cannot change figure properties
                 Project: GNU Octave
            Submitted by: None
            Submitted on: ons 24 sep 2014 09.53.26
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Code:

function plot_stuff(set)
files=readdir(pwd);
for k=1:numel(files)
    if regexp(files{k},sprintf('^set_%d_',set))
        data=load(files{k});
        semilogx(data(:,1),data(:,2));
        hold on
    end
end
xlabel('$t$');
ylabel('$H$');
set(gcf(),'paperunits','centimeters'); %Error "A(I,J,...): index to dimension
2 out of bounds; value 117 out of bound 1"

set(gcf(), 'paperposition', [0 0 7 5]);
print('-dfig', '-color', '-textspecial',sprintf('set_%d.fig',set));
hold off
end

Same error regardless if I am using gnuplot or fltk




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43292>

_______________________________________________
  Meddelandet skickades via/av Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]