4
$\begingroup$

I have the following code in Graphics[]:

{White, Text[MatrixForm[{{2,1},{-1,1}}],{3,3}]}

The numbers in the matrix are showing up white, but the brackets themselves stay black. How can I fix this?

Thanks!

$\endgroup$
  • $\begingroup$ Which Mathematica version and which operating system are you using? On Windows 10 with Mathematica 11.01 I see white brackets for Graphics[{White, Text[MatrixForm[{{2, 1}, {-1, 1}}], {3, 3}]}, Background -> Orange]. $\endgroup$ – Rolf Mertig Oct 2 '16 at 20:40
  • $\begingroup$ @RolfMertig, I'm using the Wolfram Development Platform, on Chrome. $\endgroup$ – heather Oct 2 '16 at 20:43
  • 3
    $\begingroup$ That is just a small bug which apparently only shows up in the online version. Why not purchase a Student Desktop license? You will enjoy it. $\endgroup$ – Rolf Mertig Oct 2 '16 at 21:01
  • $\begingroup$ @RolfMertig, I wish. Don't quite have enough money for that - I'm only in middle school. Thanks, though. Do you know if there is a workaround? $\endgroup$ – heather Oct 2 '16 at 21:02
  • $\begingroup$ I tried, but did not find any workaround. The Wolfram Development platform kind of seems to be still under constant development. But if you really care, just call Wolfram. $\endgroup$ – Rolf Mertig Oct 2 '16 at 21:19
5
$\begingroup$

In the Wolfram Development Platform using Rasterize fixes the incorrect coloring of the brackets.

Rasterize @ Graphics[{White, Text[({{2,1},{-1,1}}),{3,3}]}, Background->Gray]

wdpOut

$\endgroup$
  • $\begingroup$ Thank you, that works beautifully! $\endgroup$ – heather Oct 3 '16 at 11:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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