CIEG 675 IN CLASS EXERCISE ON HANDLES - PowerPoint PPT Presentation

1 / 2
About This Presentation
Title:

CIEG 675 IN CLASS EXERCISE ON HANDLES

Description:

... one I want to be located at left = 0.13, bottom= 0.5, with a width of 0.8 and height of 0.3. ... to be with a left of 0.13, a bottom of 0.1, with a width ... – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 3
Provided by: CEE1
Category:

less

Transcript and Presenter's Notes

Title: CIEG 675 IN CLASS EXERCISE ON HANDLES


1
CIEG 675 IN CLASS EXERCISE ON HANDLES
  • Make any data set consisting of t (time) and y,
    where y is a sine wave. Then make two plots.
    The first one I want to be located at left
    0.13, bottom 0.5, with a width of 0.8 and height
    of 0.3. The next I want to be with a left of
    0.13, a bottom of 0.1, with a width of 0.8 and a
    height of 0.2. Plot the same data as a line in
    each. Then do the following
  • Remove the x tick labels from the upper plot
  • Change the data in the lower plot to circles
  • Make the circles size 8, color blue with face
    color of yellow
  • Change the data in the upper plot to r
  • Change the linewidth to 4 and make it dashed
    instead of solid
  • Whatever your x tick marks were on both your
    plots, change them to something else but make
    them the same for both plots.

2
t00.0110 ysin(2pit/5) clf hsubplot(211)
set(h,'position',0.13 0.5 0.8 0.3) phplot(t,y)
hold on h2subplot(212) set(h2,'position',0.1
3 0.1 0.8 0.2) ph2plot(t,y) set(h,'xticklabel
',) set(ph2,'linestyle','none') set(ph2,'marke
r','o') set(ph2,'markersize',8) set(ph2,'markeredg
ecolor','b') set(ph2,'markerfacecolor','y') set(ph
,'color','r') set(ph,'linewidth',4) set(ph,'linest
yle','--') set(h,'xtick',0 2.5 5 7.5
10) set(h2,'xtick',0 2.5 5 7.5 10)
Write a Comment
User Comments (0)
About PowerShow.com