1
$\begingroup$

I was wondering how I can graphically plot an alphabetic character, for example D, in 2 dimension, using mathematica? I was using ListPlot with specific x and y values but it's not looking anything like a D...

Help would be appriciated! :)

This is my current D:

enter image description here

$\endgroup$
10
$\begingroup$

How about discretizing the letter's boundary?

stringBoundary[char_String] := 
  RegionBoundary[DiscretizeGraphics[First@ImportString[ExportString[char, "PDF"]]]]

stringBoundary["D"]

enter image description here

$\endgroup$

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.