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

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

[Octave-bug-tracker] [bug #64907] Add support for function `tightPositio


From: Liang Tang
Subject: [Octave-bug-tracker] [bug #64907] Add support for function `tightPosition`
Date: Tue, 21 Nov 2023 12:37:24 -0500 (EST)

Follow-up Comment #9, bug #64907 (project octave):

@pantxo, 

Thanks.  The m file you attached works and it outputs the numbers that I was
expecting, originally, to have from "position".  Just in case this log is used
later, the "axes square" in comment #8 should be axis square.  

During my trial, I have some observations that may be what the software meant
to do but I was not ready for.  Two (or may be others that I don't know) axis
properties seem to be mutually exclusive.  The example below demonstrates what
I had seen.  If this is what is supposed to, there is nothing I am requesting
to change.  Seemingly xlim and ylim must be used to get a meaningful display
involves physical dimensions.  

cen=[1 2]'; xx=[4 1]'; rad=2; 
fid=figure('name', '3'); axs(3)=axes(fid, 'position', [0.1 0.1 0.8 0.8]); axis
square;grid on; % axis equal; 
h=viscircles(cen',rad); hold on; 
% break the (implicit) equal axis from the circle and square    
g=plot(xx(1), xx(2), 'o'); set(g, 'markerfacecolor', get(g, 'color'));  
% try to fix the axis spacing and somehow break the axis square 
axis equal  % axis square not honored !
% try to fix the axis aspect ratio and somehow break the axis equal  
axis square  % axis equal is not honored 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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