View previous topic :: View next topic |
Author |
Message |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2402 Location: Yateley, Hants, UK
|
Posted: Wed Apr 11, 2018 8:22 pm Post subject: |
|
|
Not that I followed the code, John, but after a resize you always need to test that the %gr size is not 0 (in either direction), otherwise you get a divide by zero error when you recalculate scales.
Eddie |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8208 Location: Salford, UK
|
Posted: Mon Apr 16, 2018 5:33 pm Post subject: |
|
|
John
The program that you posted is truncated.
What are the missing lines? |
|
Back to top |
|
 |
mecej4
Joined: 31 Oct 2006 Posts: 1899
|
Posted: Wed Apr 18, 2018 9:54 am Post subject: |
|
|
John-Silver: The personal edition of 8.3 is now available, as you can see at www.silverfrost.com. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8208 Location: Salford, UK
|
Posted: Thu Apr 19, 2018 10:47 am Post subject: |
|
|
John
I have looked at your code and fixed the first bug that I noticed - the access violation when the window is minimised.
I started to look at the issue regarding x_max but it was not obvious to me what the problem is here. Is it not possible to present a short program and simpler information about what is wrong? |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8208 Location: Salford, UK
|
Posted: Thu Apr 19, 2018 5:11 pm Post subject: |
|
|
John
I have come back to this and I can now see the "problem".
x_min and x_max are provided for small adjustments to the end points. A small adjustment can reveal a missing end tick mark and value on the x axis. It says this somewhere in the documentation.
Clearly you were expecting something more fundamental but that is not in the current design. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8208 Location: Salford, UK
|
Posted: Fri Apr 20, 2018 7:06 am Post subject: |
|
|
John
As I said, x_min and x_max are only provided for you to make small adjustments to the end points. What you are expecting is not currently in the design and so is not implemented. Please don't ask for this to be changed because there are many far more important things that need doing. |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8208 Location: Salford, UK
|
Posted: Tue Apr 24, 2018 8:13 am Post subject: |
|
|
I will take a look at the documentation and the image presented (I am trusting that it is an important error).
Item i) My guess is that this is what most users would want and expect.
Item ii) I agree, there is room for improvement. (It is surprisingly difficult to get the position just right for various fonts etc.)
Never-the-less, I am still hopeful that %pl will prove to be a useful addition to the library. |
|
Back to top |
|
 |
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2402 Location: Yateley, Hants, UK
|
Posted: Tue Apr 24, 2018 10:08 pm Post subject: |
|
|
John,
Please look at my answer to the post you cross-referenced.
Eddie |
|
Back to top |
|
 |
|