|
|
plotyy tick marks
Hi all,
I'm using the plotyy function to plot a few lines that range from y1 = 0 - 5 and then another line that is a percentage and ranges from 0 - 100. For some reason, no tick marks show up at all. I have used plotyy to do a similar graph before with no problems, however with this particular data set, I can't get any tick marks to show up. I don't mind if they line up vertically or not, I just want some tick markings.
Any help is appreciated.
PS: I'm using R2009a
|
|
0
|
|
|
|
Reply
|
Sean
|
12/3/2009 11:13:19 PM |
|
"Sean Takai" wrote
> I'm using the plotyy function to plot a few lines that range from y1 = 0 - 5 and
> then another line that is a percentage and ranges from 0 - 100.
> For some reason, no tick marks show up at all.
I suspect you will have to show the exact script or commands you were using before anyone on this group can give you a good suggestion.
That said, your confusion with plotyy is not surprising since there seems to be more questions on the newsgroup about this function than just about anything else. I think this is because of its cryptic interface, requiring calls to several different functions for all but the most trivial tasks, coupled with sparse documentation with few examples.
If that motivates you to try an alternative, there is one available (called "plt") on the file exchange, and unlike plotyy, the full .m source code is included. Simple calls to plt will look the same as a call to plot or plotyy, however plt has a richer parameter set allowing all but the most complicated plots to be created with a single call to plt. Perhaps the greatest advantage of plt is its clearly written and extensive documentation including dozens of example scripts and functions demonstrating most every feature of plt. If for some reason the documentation doesn't explain something well or if plt doesn't behave as you expected, help is available from the author ... who happens to be me ... if that wasn't yet obvious :)
~Paul Mennen
|
|
0
|
|
|
|
Reply
|
Paul
|
12/4/2009 5:35:18 AM
|
|
|
1 Replies
398 Views
(page loaded in 0.023 seconds)
Similiar Articles: plotyy tick marks - comp.soft-sys.matlabHi all, I'm using the plotyy function to plot a few lines that range from y1 = 0 - 5 and then another line that is a percentage and ranges from 0 -... Dateticks compatible with plotyy ans xlim - comp.soft-sys.matlab ...I am working with a plotyy, ploting matrix with dates in x axis and values on y axis. ... have the xticks of AX(1) and the xticks of AX(2): % turn off 2nd axes tick marks ... Removing Tick in the polar plots - comp.soft-sys.matlabplotyy tick marks - comp.soft-sys.matlab Removing Tick Marks in Plot - Newsreader - MATLAB Central I am plotting several functions using the plot and plotyy functions. Large fonts and axis labels - comp.soft-sys.matlabHere's some sample code of the plotting commands: [AX,H1,H2]=plotyy(times,mean_t ... I've also found that controlling the tick mark labelling through YLim, YTick and ... Normalize X axis and set Y axis limit - comp.soft-sys.matlab ...... y2," and "y3" - and have only those labels (without any interior minimum tick marks). ... Dateticks compatible with plotyy ans xlim - comp.soft-sys.matlab ... Normalize X ... Percentage display on Y-axis of Histogram - comp.soft-sys.matlab ...plotyy tick marks - comp.soft-sys.matlab... from y1 = 0 - 5 and then another line that is a percentage ... data set, I can't get any tick marks to show up. ... Changing X-axis display - comp.soft-sys.matlabY Label Does not show - comp.soft-sys.matlab... axis tick label position? - comp.soft-sys.matlab... when plotting several axes close together, the exponent multipliers on ... plotting a line on a histogram - comp.soft-sys.matlabHello all, I have created a wonderful set of histograms, but I am unable to plot a so called "line of best fit" over the bars. I have read about h... Displaying ticks on only one side of a plot - comp.soft-sys.matlab ...Turning off axis tick labels using Matlab code ... Axis appearance: avoid tick mark labels to overlap - comp ... Changing X-axis display - comp.soft-sys.matlab plotyy tick ... Setting axis limits on a compass plot - comp.soft-sys.matlab ...What is the best way to use plot & plotyy then set both axis? ... on x and y axis ... of tick labels - comp.soft-sys.matlab... the axis appearance in the event tick mark ... plotyy tick marks on both y axes? - Newsreader - MATLAB CentralI am using the plotyy command to show two different sets of data with different scales on the same graph, but after I try to set the y limits for each the tick marks ... plotyy tick marks - comp.soft-sys.matlab | Computer GroupHi all, I'm using the plotyy function to plot a few lines that range from y1 = 0 - 5 and then another line that is a percentage and ranges from 0 -... 7/26/2012 10:45:41 AM
|
|
|
|
|
|
|
|
|