Re: Maximal free space on the plot




Michael wrote:
Hello. My question does not concern directly to the FORTRAN, but my
program is written on the FORTRAN.

There is a plot with several curves. Whether there is an algorithm of a
finding of the maximal free space on the plot to place a legend?
....

It isn't in Fortran, either :), but you might look at some of the plot
labelling routines in Matlab -- they handle the problem at least
moderately well.

http://www.mathworks.com/matlabcentral/fileexchange/loadCategory.do

is the location of the user-contributed files -- I'm pretty sure there
are some routines in the graphics subsection that
extend/modify/improve(?) the Matlab-basic routines you could peruse and
see how their logic works and get some ideas to implement therefrom...

HTH...

.



Relevant Pages

  • Re: simple graphics for fortran on windows
    ... Most graphics routines callable directly from high-level ... languages such as Fortran are not simpleto use. ... Routines that plot directly to a physical device (and I would ... I have written libraries to export complicated data ...
    (comp.lang.fortran)
  • Re: simple graphics for fortran on windows
    ... Most graphics routines callable directly from high-level ... languages such as Fortran are not simpleto use. ... Routines that plot directly to a physical device (and I would ... end program rplot ...
    (comp.lang.fortran)
  • Re: Gnuplot in Windows using Compaq Visual Fortran 6.6Prof.
    ... I am a Compaq Visual Fortran 6.6Prof. ... but I think it will be tedious to make graphics by Fortran ... load the data file into Matlab and plot it. ...
    (comp.lang.fortran)
  • Maximal free space on the plot
    ... My question does not concern directly to the FORTRAN, ... There is a plot with several curves. ... finding of the maximal free space on the plot to place a legend? ...
    (comp.lang.fortran)