| Re: OT: Determining the size of plotting area |
|
 |
|
 |
|
 |
|
 |
Group: comp.lang.fortran · Group Profile
Author: Robert SingerRobert Singer Date: Sep 17, 2008 16:28
On Wed, 17 Sep 2008 00:56:49 -0500, dpb non.net> wrote:
>Robert Singer wrote:
>> Offtopic really for it's not a a fortran language question, but I'm
>...
>> plot a graph/chart (x-y type), ... automatically determine the
>> upper and lower limit of the graph.
>...
>
>Richard has given the gist; like most I've also had routines that did
>such but haven't had to use them in ages. My recollection is that mine
>did basically what Richard describes but used predefined factors of
>1,2,4,5,10 as the ranges and basically turned into a CASE statement block.
Yes, I agree. What I was missing, and what Richard first mentioned,
was the log10 part. I was having trouble figuring how to round it up
to a "nice" value, and just didn't think of changing the axis system
(interesting how fortran programmers have a pragmatic view on these
problems).
Well, just would like to thank everyone for their (very!) useful
suggestions, I understood the idea how to do it. Now all I have to do
it is to get it to work without errors :-)
--
Bob
|