フィルターのクリア

Customise marker and Line Style 2 value same Y axes in stackedplot

2 ビュー (過去 30 日間)
Greg LANGE
Greg LANGE 2023 年 5 月 19 日
回答済み: Askic V 2023 年 5 月 19 日
Hello I have a common y axes for my first group
I don't find solution about customizing the markers for the first line I have for both info 'o' but I want "x" and "+"
I have the same question but about the line, here i have put 'none' but it works for both info, who could I apply "--" and ":"
vars = {["T_TECS_Apt01","T_TECS_Apt01_SIMU"],"Volume"}% data 1 and 2 = temperature and data 3 [K] = volume [L]
figure(3);s=stackedplot(affichage_info_RAW3,vars);s.AxesProperties(2).YLimits = [-0.05 20];
s.AxesProperties(2).YLimits = [-5 25];
s.AxesProperties(1).YLimits = [-5 80];
s.AxesProperties(1).LegendVisible = "off"
s.LineProperties(2).PlotType = "stairs";
s.LineProperties(1).LineStyle='none'% remove the line for both
s.LineProperties(1).Marker="o"

採用された回答

Askic V
Askic V 2023 年 5 月 19 日
Can you try this:
s.LineProperties(1).LineStyle = ["none", "-"]% remove the line for first
s.LineProperties(1).Marker = ["x","+"]

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Programming についてさらに検索

タグ

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by