0
$\begingroup$

Using M9, OSX 10.8.4, most parts of the Frame in the following overlay disappear (also partially occluding some FrameTicks) when scrolling the mouse after the output is generated.

Note the 10,000: the issue doesn't occur for much smaller ListPlot arguments.

Can anyone replicate?

    With[{t = Table[Random[], {10000}]},
 Overlay[{
     ListPlot[t, Frame -> {True, True, True, False}, Axes -> False, 
    FrameStyle -> {Automatic, Blue, Automatic, Automatic}, 
    PlotStyle -> Blue, Joined -> True, AspectRatio -> 1/10, 
    ImageSize -> 800, PlotRange -> All],
     ListPlot[t+1, 
    Frame -> {False, False, False, True}, Axes -> False, 
    PlotStyle -> Darker@Red, FrameTicks -> {None, None, None, All}, 
    FrameStyle -> {Automatic, Automatic, Automatic, Darker@Red}, 
    Joined -> True, AspectRatio -> 1/10, ImageSize -> 800, 
    PlotRange -> All]}]
 ]

Resulting in the following:

enter image description here

$\endgroup$
6
  • $\begingroup$ @Kuba, note edit, NDifferenceDelta --> t+1 (makes no difference, and no it's based on Partition, no package) $\endgroup$ Mar 26, 2014 at 20:36
  • $\begingroup$ Ok, well, no problem on Win7 V9 $\endgroup$
    – Kuba
    Mar 26, 2014 at 20:38
  • $\begingroup$ I tried on Mac OS X 10.7.5 V9, and if I understand what you mean, it looked fine. (I.e. nothing disappeared when I moved mouse after output). Mouse is inaccurate, trackpad of PowerBook is what I used to move. But I see both blue and red unlike picture above. $\endgroup$ Mar 26, 2014 at 21:15
  • $\begingroup$ @alancalvitti WAIT!!! On further playing with it, I am now seeing the weird disappearing frame behavior. The system seems quite sluggish too. $\endgroup$ Mar 26, 2014 at 21:22
  • $\begingroup$ @alancalvitti I think I figured it out. Check your magnification. The problem is not there when I am at 100% or 75% magnification, but it is there at 125% and 150%. I can repeatedly make the behavior appear and disappear by changing it. $\endgroup$ Mar 26, 2014 at 21:29

1 Answer 1

1
$\begingroup$

Here is a demonstration of the problem. I don't know why it is happening exactly though, but it seems that a workaround is simply to keep the Magnification at or below 100%.

    SetAttributes[setOpt, Listable]; 
    setOpt[cell_, mag_] := SetOptions[cell, Magnification -> mag];

    probCell = 
     With[{t = Table[Random[], {10000}]}, 
      Overlay[{ListPlot[t, Frame -> {True, True, True, False}, 
         Axes -> False, 
         FrameStyle -> {Automatic, Blue, Automatic, Automatic}, 
         PlotStyle -> Blue, Joined -> True, AspectRatio -> 1/10, 
         ImageSize -> 800, PlotRange -> All], 
        ListPlot[t + 1, Frame -> {False, False, False, True}, 
         Axes -> False, PlotStyle -> Darker@Red, 
         FrameTicks -> {None, None, None, All}, 
         FrameStyle -> {Automatic, Automatic, Automatic, Darker@Red}, 
         Joined -> True, AspectRatio -> 1/10, ImageSize -> 800, 
        PlotRange -> All]}]]

    nb = CreateDocument[{probCell, probCell, probCell, probCell, 
        probCell}];
    setOpt[Cells[nb], {0.5, 0.75, 1, 1.25, 1.5}];

Magnification of Cells

$\endgroup$
2
  • $\begingroup$ Unfortunately to drill down on fine details we use higher magnification. Will report to WRI tech. $\endgroup$ Mar 27, 2014 at 17:04
  • $\begingroup$ @alancalvitti Thanks for reporting this. I am sure that it will help me sometime in the future because I almost always use >100%. Call it middle age beginnings of presbyopia. It was only luck that I saw what seemed to be causing it. $\endgroup$ Mar 27, 2014 at 18:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.