Using MATLAB's plotting features as an interactive part of a Fortran program

Posted by ldigas on Stack Overflow See other posts from Stack Overflow or by ldigas
Published on 2010-05-31T23:47:33Z Indexed on 2010/05/31 23:53 UTC
Read the original article Hit count: 210

Although many of you will have a decent idea of what I'm aiming at, just from reading the title -- allow me a simple introduction still.

I have a Fortran program - it consists of a program, some internal subroutines, 7 modules with its own procedures, and ... uhmm, that's it.

Without going into much detail, for I don't think it's necessary at this point, what would be the easiest way to use MATLAB's plotting features (mainly plot(x,y) with some customizations) as an interactive part of my program ? For now I'm using some of my own custom plotting routines (based on HPGL and Calcomp's routines), but just as part of an exercise on my part, I'd like to see where this could go and how would it work (is it even possible what I'm suggesting?). Also, how much effort would it take on my part ?

I know this subject has been rather extensively described in many "tutorials" on the net, but for some reason I have trouble finding the really simple yet illustrative introductory ones. So if anyone can post an example or two, simple ones, I'd be really grateful. Or just take me by the hand and guide me through one working example.

platform: IVF 11.something :) on Win XP SP2, Matlab 2008b

© Stack Overflow or respective owner

Related posts about matlab

Related posts about windows-xp