[Nfb-science] Matlab in Linux
j8miller at soe.ucsd.edu
j8miller at soe.ucsd.edu
Mon Jul 31 14:10:43 CDT 2006
Hello, this is John Miller. At my company, I found that the latest version
of Matlab under Windows XP has no accessibility with Jaws. The Linux
version works quite well. My company is currently using Matlab version
7.2.0.232 or R2006a. I did have success with Windows XP with Matlab
version 6.1. Below is an example of how to generate a plot with 3 lines,
under Linux.
To generate the plot, the .m file has to end with the following line:
print -dps <filename>
This will make a post script file which contains the plot. In order to
make the pdf file I used the ps2pdf utility in Linux. The exact command
is: ps2pdf <filename.ps> <filename.pdf>
This will generate a widely accessible pdf file that can be easily shared
or copied and pasted into MS Word documents. In Matlab, type help plot for
information about the plot function. The format of plot is: plot(x, y1,
'line type', x, y2, 'line type'). This example contains 3 lines, although
support for n lines exists. In my plot, the y1 line is blue and solid, y2
is dashed green, and y3 is dotted red. Keeping line type separate helps
when plots must be displayed on black and white printers, or in PowerPoint
presentations. The sighted audience prefers color output. These colors and
line types seem to be a good combination, as fellow engineers say they are
easy to distinguish between.
Please find attached the .m file to generate the plot and the pdf file
which contains the plot itself.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: generic3line.m
Url: http://www.nfbnet.org/pipermail/nfb-science/attachments/20060731/d54c2a10/attachment.ksh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample_plot.pdf
Type: application/pdf
Size: 3745 bytes
Desc: not available
Url : http://www.nfbnet.org/pipermail/nfb-science/attachments/20060731/d54c2a10/attachment.pdf
More information about the Nfb-science
mailing list