Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug in wiggleplot.m ? #20

Open
gthompson opened this issue Oct 22, 2015 · 1 comment
Open

bug in wiggleplot.m ? #20

gthompson opened this issue Oct 22, 2015 · 1 comment

Comments

@gthompson
Copy link
Member

From @GoogleCodeExporter on August 1, 2015 21:51

In wiggleplot.m from line 53 on, should we use get(c(ord),'sta'), instead of 
get(c,'sta')?

% replace dates with station names if stations are different
if ~check(c,'STA')
    sta  = get(c,'STA');
    chan = get(c,'CHAN');

    for i=1:get(c,'TRACES')
        labels(i) = strcat( sta(i) , '_' , chan(i) );
    end
    set( gca , 'YTick' , [1:1:get(c,'TRACES')] );
    set( gca , 'YTickLabel' , labels );
end



Original issue reported on code.google.com by [email protected] on 17 Sep 2012 at 4:37

Copied from original issue: giseislab/gismotools#33

@gthompson
Copy link
Member Author

From @GoogleCodeExporter on August 1, 2015 21:51

I haven't tested such as change, but based on the suggestion it seems quite 
reasonable. I say go ahead and change it and then just look out of for issues.

Original comment by [email protected] on 17 Sep 2012 at 2:30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant