matlab 特殊k线做标示

    xiaoxiao2021-12-10  36

    clc close all load disney; candle(dis_HIGH(end-20:end), dis_LOW(end-20:end), dis_CLOSE(end-20:end),... dis_OPEN(end-20:end), 'b'); %//====================== %// Get current axes Axes1 = gca; %// Get the current limits Axes1XLim = get(gca,'XLim'); Axes1YLim = get(gca,'YLim'); %// Create new axes hold on NewAxes = axes('Position',get(gca,'Position'),'Color','none','XTick',get(Axes1,'XTick'),'YTick',get(Axes1,'YTick'),'NextPlot','add') %// Plot your data on new axes m = plot(NewAxes,2,20.4,'r^','MarkerFaceColor','r', 'MarkerSize',15); %// Adjust its limits xlim(Axes1XLim) ylim(Axes1YLim)
    转载请注明原文地址: https://ju.6miu.com/read-700041.html

    最新回复(0)