/usr/share/freemat/toolbox/graph/loglog.m is in freemat-data 4.0-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | % LOGLOG LOGLOG Log-Log Plot Function
%
% Usage
%
% This command has the exact same syntax as the plot command:
%
% loglog(<data 1>,{linespec 1},<data 2>,{linespec 2}...,properties...)
%
% in fact, it is a simple wrapper around plot that sets the
% x and y axis to have a logarithmic scale.
% Copyright (c) 2002-2007 Samit Basu
% Licensed under the GPL
function ohandle = loglog(varargin)
handle = plot(varargin{:});
set(gca,'xscale','log');
set(gca,'yscale','log');
if (nargout > 0)
ohandle = handle;
end
|