RGB triple of color name, version 2 does not work with Matlab2023

5 ビュー (過去 30 日間)
arjun luther
arjun luther 2023 年 7 月 6 日
編集済み: arjun luther 2023 年 7 月 7 日
Hi i am very new to matlab and was looking for ways to introduce more color range rather than just the predefined colors, i stumbled upon an answer in this communitty where someone told to use 'RGB triple of color name, version 2' from filexchange. The syntax i used to define color was like
s.LineProperties(9).MarkerEdgeColor=rgb('stone') % plots a dark silver color.
but as i am now trying to use online version of Matlab which is 2023, it doesnt recoginze the word 'stone' for instance or any other combination of words like it use to in 2022 version .with version 2022 i could simply write rgb('dark green') and it would plot this color. Is there any way around in version 2023 because i have used that function in many scripts and it would take a huge amount of time to undo all of them.
  1 件のコメント
Stephen23
Stephen23 2023 年 7 月 6 日
Did you try saving the RGB function in your MATLAB Drive?

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

採用された回答

Steven Lord
Steven Lord 2023 年 7 月 6 日
In MATLAB Online, open the Add-Ons Explorer (the icon that looks like three cubes in the Environment section of the Home tab of the toolstrip.) Search for and add this add-on to your MATLAB Online then you should be able to use it just like you have been in your desktop installation.
  8 件のコメント
arjun luther
arjun luther 2023 年 7 月 6 日
on my desktop version i got two outputs
\AppData\Roaming\MathWorks\MATLAB Add-Ons\Functions\RGB triple of color name, version 2\rgb.m % Shadowed
\AppData\Roaming\MathWorks\MATLAB Add-Ons\Collections\Climate Data Toolbox for MATLAB\cdt\rgb.m
seems like the suspicion was correct.
arjun luther
arjun luther 2023 年 7 月 7 日
編集済み: arjun luther 2023 年 7 月 7 日
I installed the climate data tool box for online version also but it is shadowed now. How to unshadow the climate box plugin in this case ?

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by