How do I change a marker type (e.g., circle to triangle) for a user selected section of a plot?

5 ビュー (過去 30 日間)
Tyler Goodell
Tyler Goodell 2018 年 2 月 27 日
コメント済み: Tyler Goodell 2018 年 2 月 28 日
I am using the "selectdata" function from John D'Errico's MFE submission to grab specific data points from a graph (although this method isn't really important—what's important is that a subset of a plot is being selected). I need to have the programmatic ability to change the marker type of any user selected subset that is originally plotted together (see image). So for the example image below, I would grab the four right selected circles and change them to triangles.
I just used brush tool to highlight an example of the marker types I want to change since it's easier screengrab.
I've been looking for the past 2 days and haven't found anything anywhere on here or the undocumented Matlab pages so outlook is bleak, but I'm hopeful one of you geniuses can help me figure this out.
  1 件のコメント
Tyler Goodell
Tyler Goodell 2018 年 2 月 28 日
Maybe this will make it a little bit easier...Is there any way to change the shape of a marker once it has already been plotted using scatter?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by