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

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

[Octave-bug-tracker] [bug #58801] Scatter plot auto-scale not working fo


From: anonymous
Subject: [Octave-bug-tracker] [bug #58801] Scatter plot auto-scale not working for array size >100, but all data is plotted corrrectly.
Date: Tue, 21 Jul 2020 13:11:02 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?58801>

                 Summary: Scatter plot auto-scale not working for array size
>100, but all data is plotted corrrectly.
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Tue 21 Jul 2020 05:11:00 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Bob S
        Originator Email: bspurr.etc@gmail.com
             Open/Closed: Open
                 Release: 5.2.0
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:


graphics_toolkit ("fltk"); 
clf;
z=[];
%for y = 1:10  % scatter plot auto-scale OK
for y = 1:12  % auto scale not working
  for x = 1:10
    %printf("%i-%i ", y,x);
    %if (x==10) printf("\n"); endif;
    z = [z;[y,x+9]];
  endfor
endfor
for i=1:rows(z)
  printf("%i-%i \n", z(i,1),z(i,2));
  if z(i,2) == 10 printf("\n"); endif;
endfor
scatter (z(:,2),z(:,1), "r"); % all data is plotted in both cases
% auto scale work around, disable to show problem
%hold on
%scatter (z(1,2),z(1,1), "r"); % plot any value again to fix
%hold off





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58801>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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