unit comm
interface
uses
Windows, Messages, SysUtils, Classes, graphics, Controls, Forms, Dialogs,
SPComm, StdCtrls, ExtCtrls
type
TFcomm = class(TForm)
Comm1: TComm
GroupBox1: TGroupBox
Memo1: TMemo
Memo2: TMemo
GroupBox2: TGroupBox
Button1: TButton
Btn_send: TButton
Button2: TButton
procedure Button1Click(Sender: TObject)
procedure Button2Click(Sender: TObject)
procedure Btn_sendClick(Sender: TObject)
procedure Comm1ReceiveData(Sender: TObject Buffer: Pointer
BufferLength: Word)
private
{ Private declarations }
public
{ Public declarations }
end
標簽:
interface
Messages
graphics
Controls
上傳時間:
2016-06-10
上傳用戶:gxmm
一種比較好的抗鋸齒算法
Add myaa.m to your path and enjoy anti-aliased professionally looking graphics in Matlab at any time. Myaa works with any kind of graphic (3-D, plots, scatterplots, ...) and even adds anti-aliasing to text, ui controls and grids. Myaa is ideal for complex, cluttered and saturated plots.
See attached screenshot for a demonstration. More examples included in the code, just run help myaa .
Curiosa:
For those of you who publish your code often, an undocumented anti-aliasing option is included in the snapnow.m function in Matlab. To publish a file called test.m you can do:
opts.figureSnapMethod = antialiased
publish( test.m ,opts)
However, you will have more control over the process using myaa, which is also the best choice when using Matlab interactively.
標簽:
professionally
anti-aliased
graphics
looking
上傳時間:
2016-09-28
上傳用戶:txfyddz