|
Hi, The heart of this question was making a custom color-line key for time series plots. Overlaying on a plot with a time axis has always been hard to do. It will be improved with the next Ferret release, but for this particular situation, just drawing a key, we don't really need to do a time overlay. Instead, define a separate viewport, and then it's a matter of drawing simple line plots and labels inside. yes? ... open datasets, define variables to plot together! Plot the variables together, using a viewport.yes? set view full yes? plot/nolab/thick/color=black/vlimits=0:360 var1 yes? plot/over/nolab/thick/color=red var2 yes? plot/over/nolab/thick/color=green var3! There is space in the upper right, so define a viewport that lies inside the plot axes. ! It can be adjusted to make it a good size and shape for the lines and labels. ! Note use of the /AXES qualifieryes? define viewport/axes/xlim=0.7:0.9/ylim=0.65:0.8 vkey yes? set view vkey! Turn off axis tics and labels. These commands persist to subsequent plot calls. ! Make a plot with limits of 0:1 in both directions, with nothing drawn but the plot axes yes? label 0.44,0.23,-1,0,0.15,Third Label ![]() On 6/28/2016 7:42 AM, afwande juliet
wrote:
|