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

SHADE plot with very long axis on the horizontal yields mostly-blank plot #1032

Open
karlmsmith opened this issue Nov 23, 2017 · 1 comment

Comments

@karlmsmith
Copy link
Contributor

karlmsmith commented Nov 23, 2017

Reported by @AnsleyManke on 15 Oct 2010 22:19 UTC
Reported by Ned Cokelet. When a time axis has more than 25000 points, a SHADE plot with the time axis horizontal results in a blank, or mostly-blank plot. If the time axis is horizontal, then the plot is correct.

  • If the axis is < 25000 points long everything works fine.
  • The bug is not limited to time axes. A long X axis plotted in the horizontal direction does the same thing.
define axis/t=1:25021:1/t0=1-jan-2000/units=minutes longtime
define axis/y=1:300:1 yax
let jj = j[gy=yax]
let LL = l[gt=longtime]
let var = 30*randu(jj) + 10*randu(LL)

set win/asp=1.5
set view upper
shade/title="T axis 25021 points, time axis horizontal" var

set view lower
shade/title="Same variable plotted with SHADE/TRANS"/trans var

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

@karlmsmith
Copy link
Contributor Author

karlmsmith commented Nov 29, 2017

Attachment from @AnsleyManke on 15 Oct 2010 22:20 UTC
the plot resulting from the script
shadebug

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