Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
.Net Runtime Library for Delphi 6.0.4.0
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
AnyChart JS Charts and Dashboards 8.4.2
OrgChart JS 3.8.0
dbForge Compare Bundle for MySQL 8.1
dbForge Search for SQL Server 2.3
Database Workbench Pro 5.5.0
Luxand FaceSDK 7.0
SSIS Data Flow Components 1.10
Entity Developer Professional 6.3
dbForge Index Manager for SQL Server 1.9
dbForge Data Generator For MySQL 2.2
Magento Australia Post eParcel Extension 1.0
Top Code
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Betting system 6.x-1.x-dev
Java-2-Pseudo 1.0
Library Management System 1.0
Russian Roulette
soccerbet 1.0
Cuckoo Search (CS) Algorithm 1.0
JEDI Database Desktop 27012002
JAC (Java Asn.1 Compiler) 3.0
CONTRAST CONTROLLER 1.0
ActivePerl 5.8.4.810/5.6.1.638
Analog Clock from Jay 1.0
shopping mall management system 1.0
Stepping stone algorithum for solving the transhipment problem
Equipment Rental Script 1.0
Top Rated
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
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.4
textborder - Higher contrast text using a 1-pixel-thick border 1.0
File ID: 84483






textborder - Higher contrast text using a 1-pixel-thick border 1.0
Download textborder - Higher contrast text using a 1-pixel-thick border 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 10.0 KB
Downloads: 3
Submit Rating:
textborder - Higher contrast text using a 1-pixel-thick border 1.0 Description
Description: This function draws text on a figure with a 1-pixel-thick border, which may be useful when simple text would be hard to read due to low contrast.

TEXTBORDER(X, Y, STRING)
Creates text on the current figure with a one-pixel border around it. The default colors are white text on a black border, which provides high contrast in most situations.

TEXTBORDER(X, Y, STRING, TEXT_COLOR, BORDER_COLOR)
Optional TEXT_COLOR and BORDER_COLOR specify the colors to be used.

Optional properties for the native TEXT function (such as 'FontSize') can be supplied after all the other parameters.
Since usually the units of the parent axes are not pixels, resizing it may subtly change the border of the text out of position. Either set the right size for the figure before calling TEXTBORDER, or always redraw the figure after resizing it.

---

The screenshot was created using the following code. (The image is part of the Matlab Image Processing Toolbox demos.)

imshow(imresize(imread('pears.png'), 0.5))
textborder(35, 215, 'Some text')
textborder(120, 100, 'Some text','w','k','FontSize',22)
textborder(270, 215, 'Some text',[0.7 0.8 1])

License: Shareware

Related: Calling, textborder, redraw, Position, Change, Units

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

File Size: 10.0 KB

Downloads: 3



More Similar Code

This function will summarize a 1-D vector of data (i.e. 1 column) based on what the user specifies as the statistic (e.g. mean, sum, etc.). It uses no loops, so it is extremely fast. However, it will use up memory as a result. I've included memory checks such that if you do not have enough memory, it will perform the moving summary using loops. Thus what would take a few seconds, will take minute(s).

The function will summarize data...



USAGE
=====

This function enables a 3D array to be displayed using a patch surface mesh. To plot a 3D logical array, the function is called using the following syntax:

>> hpat =...



Adaptive multi-focus image fusion using a wavelet-based statistical sharpness measure
Adaptive multi-focus image fusion using a wavelet-based statistical sharpness measure



Ask the DotNetJunkies: Using a Pop-Up Calendar and a List Control is tutorial in which the author describes about how to use a pop-up calender to select the date from it within a cell of the datgrid control. This tutorial creates a function for...



ASP.NET: Master or Detail View using a DropDownList and a DataGrid is a tutorial through which users can gather information about the datagrid control and dropdownlist control. This tutorial demonstrates novice how to generate datagrid and...



Displaying the Files in a Directory using a DataGrid is an useful article for the web developers to display all the file names of a directory in a datagrid control using the getfiles method of the DirectoryInfo and Directory class. This article...



HOWTO: Using a Java Class with Active Server Pages is an article which deals with step by step method that have to be adapted to utilize the java server objects in the ASP application. Here author explains this method with the help of examples...



Using a PagedDataSource and your own data pager links is a web based tutorial in which the author gives details about PagedDataSource class, through which you can bind just the data you want to display, and build your own pager links. In this...



Using a web form and server controls, part I is a tutorial through which users can gather information about the process to built the web forms with the help of ASP.NET applications. The author describes about the method of utilizing the server...



Write text to a file in ASP is a web based tutorial through which users can learn about writing a text content to a file in ASP applications. Here is a code which have to be included while constructing a programme for writing a text into a file....

User Review for textborder - Higher contrast text using a 1-pixel-thick border
- required fields
     

Please enter text on the image