目前,当我绘制一个9乘6的数组时,该数字的x轴只有1,2,3到9.Y轴显示正确的值.
而不是1到9我想要x轴值是自定义的.他们应该是
100 200 400 1000 2000 5000 10000 20000 50000
代替.我试过了
set(gca,'XTick', [100 200 400 1000 2000 5000 10000 20000 50000])
Run Code Online (Sandbox Code Playgroud)
但这不是正确的做法.是否有Matlab选项可以为x轴设置这些自定义值?为什么Matlab只使用1到9呢?
我目前正在考虑自动测试Android手机和其他设备之间的蓝牙连接.
我发现了许多有用的ADB命令,例如
adb shell service call bluetooth_manager 6adb shell am start -a android.bluetooth.adapter.action.REQUEST_ENABLEadb shell am start -a android.bluetooth.adapter.action.REQUEST_DISCOVERABLEadb shell service call bluetooth_manager 8但无法找到以下操作的任何内容:
这些存在吗?或者我是否需要编写可以执行这些操作的包装Android应用程序?