2
$\begingroup$

I'm wondering if it's possible to create functional intensity plots in matlab. Examples of what I'm looking for are below found in this paper:

enter image description here

enter image description here

enter image description here

These figures were (guessing) probably made in R, but is this possible for matlab? I can't seem to find anything related to intensity besides an image intensity plot.

THanks

$\endgroup$
1
$\begingroup$

I believe that what you are looking for can be found in this package, patchline.m, available from Matlab Central.

http://www.mathworks.com/matlabcentral/fileexchange/36953-patchline/content/patchline.m

Please note the basic usage as is outlined in

help patchline

%Example 
t = 0:pi/64:4*pi;
p = patchline(t,sin(t),'edgecolor','b','linewidth',2,'edgealpha',.05);

'edgecolor' and 'linewidth' correspond to their obvious graphical properties, but what you may be unfamiliar with is the 'edgealpha' (valued between 0 and 1) which will determine the transparency of the lines which you are plotting.

$\endgroup$
1
$\begingroup$

So it turns out I think I found the closest thing to what I really wanted:

enter image description here

which is from here.

This is the seaborn library in python, which seems to act mostly as an extension to matplotlib and pyplot. My OP seems to be a variation on this library plotting function.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.