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
Rapid PHP 2018 15.5
IBDAC 6.4
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
Hotel Management System Restaurant Version 5.25
Azizi search engine script PHP 4.1.10
PHP MLM Software 2.0.1
Spider(rader) Chart for Multi Data 1.0
Simple Radar_system_simulation 1.0
The Spherical K-means algorithm 1.0
AJ Matrix v2.6
Personal Web Portal 5.0
Chessgra 1.1
Keno Game 1.I
VChess 6.x-1.x-dev
Killer Guestbook Script 1.1
RLS Algorithm Demo 1.0
Doctor Appointment Booking Script 1.0.1
DeltaRule 1.0
Top Rated
VisualNEO Web 2018.12.15
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
Availability Booking Calendar PHP 1.0
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