Missing Plot Tools button in Matlab 2018b
이전 댓글 표시
Hi,
I'm missing the plot tools button in my figure in the last Matlab 2018b release. Does anyone know how to make it appear again? Even when I'm running the plottools command, the figure just closes. Did they remove this tool?
Thanks
채택된 답변
추가 답변 (4개)
Sarah
2019년 3월 6일
2 개 추천
Just wanted to add to this. I use the Plot Browser constantly to turn on/off different sets of lines (I often don't know which results will be the most useful until I look at a lot of them) and as a pseudo legend (I turn off the real legend because it doesn't work sometimes with the number of lines I plot at once). I also use the plottools docked capability as a great way to switch between plots quickly.
댓글 수: 1
Michelle Hirsch
2019년 3월 6일
Thanks for the input, Sarah. What do you mean by this comment:
"I also use the plottools docked capability as a great way to switch between plots quickly"?
Sarah
2019년 3월 7일
0 개 추천
So here's an effort to show both at once. I'm using the Plot Browser as a legend and too turn things on and off (sometimes I'll make a whole group of lines one color or linestyle as well). You'll see that I have 7 figures docked here. That's not unusual for me. I often have more figures at one time (anything up to 15 is typical). I'll generate via a script and set them to specific figure numbers (not so much in this example - only the 101 and 102 fall into that category). The next step might might involved me reading results for a variation and I would plot those as 201 and 202. Let me lay out the scenario more specifically below the image.

1) Run a model in a finite element solver.
2) Run a postprocessing script in Matlab that reads the resuts, modify as needed, and plots into specific figure numbers, say 100-105. 100 might be pressure, 101 power, 102 impedance etc.
3) Dock those figures in the plottools window.
4) Run a variation of the model.
5) Run v2 (which is the same as v1, just with a different model name and results file as I usually write the scripts to take those two pieces of info at the beginning and everything else below is variable names) of the postprocessing and plot into 200-205.
6) Dock those figures.
7) Use the plottools interface to jump quickly between 100/200, 101/201, etc. to compare changes in the results. That let's you easily see how the frequency or magnitude or shape changed from one version to the next.
8) Use the Plot Browser as a legend since there might be 40+ lines on the plot and as a way to turn off currently undesired lines (and then turn them back on when I want to look at that part of the results) or change color/style.
9) Possibly update scripts to explicitly plot what I've been testing manually (in terms of color, style, which lines etc.) in the Plot Browser.
10) Run more models and repeat.
댓글 수: 3
Michelle Hirsch
2019년 3월 7일
Thanks, this is super helpful!
Sarah
2019년 3월 7일
Happy to chat anytime or visit in person. I'm right down the road from you in Framingham. :)
Scott Nuccio
2019년 6월 26일
See my post below. Should help you add, edit, and hide buttons to the toolbar.
Scott Nuccio
2019년 6월 26일
0 개 추천
See my post here:
and
should help you add, edit, and hide buttons
Ali Moshrefzadeh
2019년 6월 26일
0 개 추천
This works nicely.
Below is more information about editting the startup.m file
카테고리
도움말 센터 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
