Open karlmsmith opened 6 years ago
Comment by @AnsleyManke on 31 Aug 2017 19:36 UTC Investigating, this is related to the positioning of the tic marks on the axes. We draw the tic marks inside the plot box, and the labels seem to be located relative to the tics. If I set the style to have short tic marks extending outside the box, it looks better, but only for the time-axis styles with a single label. Ones labeled with year and month for instance look worse. This needs to be fixed in PyFerret.
Comment by @AnsleyManke on 31 Aug 2017 19:44 UTC The third image has year/month labels. It's not as jarring as the ones with months only, but the month labels are still right on the plot line.
Attachment from @AnsleyManke on 31 Aug 2017 19:33 UTC LAS y-t plot
Attachment from @AnsleyManke on 31 Aug 2017 19:34 UTC the same plot without viewport and other special drawing settings
Attachment from @AnsleyManke on 31 Aug 2017 19:41 UTC A plot with year/month labels on the time axis
Reported by @AnsleyManke on 31 Aug 2017 19:33 UTC In LAS we draw plots with small margins (using viewports), and with the tic-marks drawn inside the box. When running PyFerret, this winds up placing the labels on time axes right on or overlapping the axis line. This happens with the time-axis styles that have just one line of labels, like the names of months.
Attached are a LAS plot and the same data plotted with default window setup.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2559