Code Directory
 Visual Basic & VB.NET
New Code
Inventory Manager For Dynamics CRM 4.0
Dockit Migrator for SharePoint 11.8.6905
Australia Post Shipping For Magento 2 1.0.0
StarTrack Shipping For Magento 2 2.0.0
Mydala script 1.3
dotConnect for FreshBooks 1.8
Odoo Kingfisher Theme 1.0
Bitcoin Mining Software - Bitcoin Mining Script 1.0.2
Excel Add-in for Magento 1.7
Excel Add-in for MailChimp 1.7
Devart Excel Add-in for QuickBooks 1.7
Excel Add-in for PostgreSQL 1.7
Devart Excel Add-in for MySQL 1.7
Devart Excel Add-in for NetSuite 1.7
Excel Add-in for Salesforce 1.7
Top Code
ATN Site Builder 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
Excel Add-in for PostgreSQL 1.1
Excel Add-in for Salesforce 1.1
Excel Add-in for MailChimp 1.1
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
ADO.NET Provider for ExactTarget 1.0
Deals and Discounts Website Script 1.0.2
dotConnect for FreshBooks 1.8
Excel Add-in for Magento 1.6
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
tmark.m 1.0
File ID: 86617

tmark.m 1.0
Download tmark.m 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 0
Submit Rating:
tmark.m 1.0 Description
Description: TMARK Tickmark annotation class for 2-D plots.

Usage: t = tmark([x,y],varargin)
t = tmark(ginput(1),'color','r','label','Peak 1')

Tmarks are user positioned annotation objects whos position's remain fixed
in axes units when plot axes are rescaled (unlike standard annotation
objects whos positions are not updated as a result of axis rescaling).
Tmarks are intended to be used to label features like peak positions in
spectroscopic data. The functionality is like the "Pin to Axes" function
except tmarks are available from the command line and in scripts. Tmarks
can be created either from the command line or interactively using
tmulti.m. Once created tmark's properties may be edited via either a
context menu (right click on the mark) or via the commaqnd line using the
utility routines tedit.m, tfind.m and trestore.m, or using the set
formalism as for other types of handle objects.

Known Limitations:
Currently when a figure containing tmarks is saved to disk and then
reloaded the tmarks become 'dormant' (i.e. they will no longer be
repositioned as a result of axis rescaling). The utility routine
trestore.m will revive the tmarks subject to some limitations - in
particular tmarks in figures containing more than one subplot may end up
being attached to the wrong axis. See the help info in trestore.m for
details and a workaround for this problem.


%Plot some data
x = 0:0.01:2*pi;
ylim([-1.5 1.5])

%Add a tmark from the command line.

tm = tmark([pi,sin(pi)],'color','r','label','Tmark')

%Modify the settings for the mark. Editing is also available by right
%clicking on the mark with the mouse.

set(tm,'resolution',0.001) %increase the resolution
set(tm,'textonly',1) %display only the text label

%Create marks interactively on the current figure using ginput. Left click
%to create marks. Press escape to exit.

tm = tmulti %tm will be a cell array of tmark handles.

End example

Required Inputs
pos .................... [x,y] coordinate of mark in experimental units

Optional Inputs
label .................. Text label to be displayed in addition to the
x-coordinate of the mark.
resolution ............. The numeric resolution of the displayed
position. For examples, a resolution of 1
will display the position rounded to the
nearest integer, a value of 0.02 will give the
position rounded to the nearest 0.02. When
tmarks are created they script picks the
initial resolution based upon the xaxis range
as reported by xlim.
textonly ............... If set to 1 only the label text is displayed
(no x-axis value). Default = 0 (label and
x position displated).
color .................. The color of the mark.
fontsize ............... Font size for the mark.
hdlAx .................. The handle of theaxis to which the tick mark
is attached.

TM ..................... Tickmark object (tmark)

See also: tedit tfind trestore tmulti

Acknowledgement - this script relies on a modified version of dsxy2figxy.m which appears as an example in the Matlab documentation.

License: Shareware

Related: escape, tmulti, Array, press, Create, marks, current, ginput, handles

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 0

More Similar Code

M-pack is a Package containing menu-implementing applets, which can build menus with different effects and features. The applets contain various parameters, which can be customized like text, image dimensions, font, size and different menu levels. Some menus in the package with different menu implementations are: CompactMenu, mimbounce, mimdesc, mimring, treemenu, textbuttongrid, iebb, jam, mselight, msetint, msetwirl, mseconvex.

M-pack (bundle of several menu applets) is multi-platform compatible. M-pack includes a series of web-based Java menu programs (mimbounce, mimdesc, mimring, treemenu, textbuttongrid, iebb, jam, mselight, msetint, msetwirl, mseconvex) that can be...

m-phorum is a simple discussion board that is based on PHP and MYSQL data base.This board contains forums to post topics for online discussions and also avails spaces for replies given by their users for the topics posted on the board.This board...

This m-file finds the periodic ACF of all the m-sequences of length 31.In this program m-sequences of length 31 are generated and its periodic Autocorrelation function is plotted.

These files just to simulate or demo M-QAM modem in case BER, channel model, signals in t and f domain.

Overal proses from bit insertion at modulator to bit estimated in demodulator. We can see the change of signal in each block diagram.

The attached Matlab file estimate numerically the probability of error for M-array orthogonal signals and plot the graph BER for M-signals [2 to 64].

Numerical estimation is performed on the probability of error equation derived in...

It is M File for computing the rational coefficiants for HeartVI1 Simulink.

This very simple m-function computes cross spectrum, coherence and phase at the same time. The input parameters are equivalent to pwelch.n or csd.m in MATLAB and use csd.m in the singal toolbox.

It's very simple but useful for engineers.

You can rum these files by my_speech.m file, taking an value like my_speech(64, 'qam') in the command window of MATLAB.

I wrote this for a friend who likes to use Excel to track the issues reported by the M-Lint code analyzer on her code. She explained that she would paste the M-Lint report into Microsfot Excel and check off each item as she fixed it.

User Review for tmark.m
- required fields

Please enter text on the image