Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot axes don't meet up #1749

Closed
karlmsmith opened this issue Nov 23, 2017 · 3 comments
Closed

plot axes don't meet up #1749

karlmsmith opened this issue Nov 23, 2017 · 3 comments

Comments

@karlmsmith
Copy link
Contributor

karlmsmith commented Nov 23, 2017

Reported by @AnsleyManke on 1 Nov 2016 19:51 UTC
For this PLOT/VS plot, the vertical axis between the lower edge and first tic mark isn't drawn.

yes? use lonlat.nc
yes? plot/vs/sym/siz=0.2/color=red/thick lon, lat

PLOT/VS doesn't make a "nice" axis length and tic marks, but uses the range of the data itself, so there's usually going to be a partial tic interval at one or both ends.

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2477

@karlmsmith
Copy link
Contributor Author

karlmsmith commented Nov 23, 2017

Comment by @AnsleyManke on 3 Nov 2016 16:54 UTC
This is fixed in xaxis1.F and yaxis1.F. These previously drew the first tic, then (someimtes? when the start to the first tic is only part of a full interval, I think) drew from that tic to the start of the axis, then later the entire line. With changes for PyFerret where we do not over-draw lines, #2279, this first little bit didn't get drawn.

Just draw the full axis length, once.

@karlmsmith
Copy link
Contributor Author

karlmsmith commented Nov 29, 2017

Attachment from @AnsleyManke on 1 Nov 2016 19:51 UTC
the dataset used in the example
lonlat.nc.zip

@karlmsmith
Copy link
Contributor Author

karlmsmith commented Nov 29, 2017

Attachment from @AnsleyManke on 1 Nov 2016 19:52 UTC
the plot
lonlat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant