This file is indexed.

/usr/share/psychtoolbox-3/PsychMatlabTests/ylabelBug.m is in psychtoolbox-3-common 3.0.11.20131230.dfsg1-1build1.

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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
function ylabelBug
% Mathworks Case ID: 297565, submitted 10/4/99.
% 
% YLABEL command (in Matlab plots) bug and work around.
% 
% dear mathworks
% 
% there's a bug in the YLABEL command. Here's a tiny program that 
% demonstrates the bug.
% 
% % c vs k
% k=1:100;
% c=1./k;
% loglog(k,c)
% %xlabel('Extent (i.e. number of 
% features)','FontSize',14,'FontWeight','bold');
% ylabel('Threshold contrast','FontSize',14,'FontWeight','bold');
% 
% The plot looks ok in Matlab, but if you copy and paste it into any other 
% application, eg Microsoft PowerPoint, the YLABEL command results in a 
% spurious "TextEnd" error message in the middle of the graph. The TITLE 
% and 
% XLABEL commands don't have this problem.
% 
% I'm using Matlab 5.2.1 on a PowerMac, Mac OS 8.6. Is there any 
% workaround? I need y labels.
% 
% best
% 
% denis pelli
% professor of psychology and neural science at nyu
% apple developer
% 
% Reported as a bug to Mathworks on 10/4/99, Case ID: 297565. Their reply (10/4) follows:
% 
% Dear Denis,
% 
% I am writing in response to your e-mail regarding YLABEL. I believe the
% following work around will help you.
% 
% This is a bug and it has been reported to our development staff. 
% 
% If you are printing to a Postscript printer, then the work around is to
% attach Postscript to the PICT file.  
% 
% To do this:
% 
% 1)  Choose the Output Preferences item from the Options menu in Matlab.  
% 
% 2)  In this dialog box, check the  Honor Figure Position checkbox.
% 
% 3)  Select Copy PICT with EPS as the default format.  
% 
% Then you can copy and paste a graph into another application which will
% result in proper output.
% 
% If this does not work for you, here is another technical note which may
% pertain to your problem:
% 
% web http://www.mathworks.com/support/solutions/v5/22133.shtml
% 
% I hope that this helps you!
% 
% Sincerely,
% 
% Sean Cote
% Technical Support Engineer
% scote@mathworks.com

% c vs k, summation
k=1:100;
c=1./k;
loglog(k,c)
%xlabel('Extent (i.e. number of features)','FontSize',14,'FontWeight','bold');
ylabel('Threshold contrast','FontSize',14,'FontWeight','bold');

fprintf('The plot looks ok in Matlab, but if you copy and paste it into any other\n');
fprintf('application, eg Microsoft PowerPoint, the YLABEL command results in a \n');
fprintf('spurious "TextEnd" error message in the middle of the graph. The TITLE and \n');
fprintf('XLABEL commands don''t have this problem.\n');