Quantcast
Channel: HG2 – Undocumented Matlab
Browsing latest articles
Browse All 39 View Live

Image may be NSFW.
Clik here to view.

Persisting transparent colors in HG2

Several months ago, I showed how we can set semi- and fully-transparent colors in HG2 (Matlab’s new graphics engine, starting in R2014b) for multiple graphic objects, including plot lines, plot...

View Article


Image may be NSFW.
Clik here to view.

Adding dynamic properties to graphic handles

A client recently asked me to extend one of Matlab’s built-in graphic containers (uiflowcontainer in this specific case) with automatic scrollbars that would enable the container to act as a...

View Article


Image may be NSFW.
Clik here to view.

Customizing contour plots

One of my clients asked me last week whether it is possible to access and customize individual contour lines and labels in HG2 (Matlab’s new graphics system, R2014+). Today’s post will discuss how this...

View Article

Image may be NSFW.
Clik here to view.

Customizing contour plots part 2

A few months ago I discussed various undocumented manners by which we can customize Matlab contour plots. A short while ago I receive an email from a blog reader (thanks Frank!) alerting me to another...

View Article

Image may be NSFW.
Clik here to view.

Customizing axes part 5 – origin crossover and labels

When HG2 graphics was finally released in R2014b, I posted a series of articles about various undocumented ways by which we can customize Matlab’s new graphic axes: rulers (axles), baseline, box-frame,...

View Article


Image may be NSFW.
Clik here to view.

Customizing contour plots part 2

A few weeks ago a user posted a question on Matlab’s Answers forum, asking whether it is possible to display contour labels in the same color as their corresponding contour lines. In today’s post I’ll...

View Article

Image may be NSFW.
Clik here to view.

Customizing histogram plots

Earlier today, I was given the task of displaying a histogram plot of a list of values. In today’s post, I will walk through a few customizations that can be done to bar plots and histograms in order...

View Article

Image may be NSFW.
Clik here to view.

Customizing axes tick labels

In last week’s post, I discussed various ways to customize bar/histogram plots, including customization of the tick labels. While some of the customizations that I discussed indeed rely on undocumented...

View Article


Image may be NSFW.
Clik here to view.

Auto-scale image colors

I deal extensively in image processing in one of my consulting projects. The images are such that most of the interesting features are found in the central portion of the image. However, the margins of...

View Article


Image may be NSFW.
Clik here to view.

Undocumented plot marker types

I wanted to take a break from my miniseries on the Matlab toolstrip to describe a nice little undocumented aspect of plot line markers. Plot line marker types have remained essentially unchanged in...

View Article
Browsing latest articles
Browse All 39 View Live