Try ax1 = subplot(121) ax2 = subplot(122)
ax2._get_lines.color_cycle = ax1._get_lines.color_cycle ax1.plot([0,1]) ax2.plot([0,1]) Regards, -JJ On Thu, Mar 11, 2010 at 9:02 AM, Pribadi, Krishna <krishna.prib...@harley-davidson.com> wrote: > Hello all, > > Does anyone know how to get the current line cycle or color cycle for a > particular line. I’m plotting a collection of lines on 2 axes. After I > finish plotting on the 1st axis, I then want to plot on the 2nd axis and > resume where the line color left off in the 1st axis but so far I resets to > the first line color in the color cycle. > > > > LMK if anyone knows how to set this. I’ve been digging on the website but > don’t have much luck. > > > > Thanks, > > > > Krishna Adrianto Pribadi > > Test Engineer > > Desk (TTF): 256.480.4450 > > Cell: 412.401.1477 > > > > Harley-Davidson Motor Co. > > Talladega Test Facility > > Vehicle Test Stands (VTS) > > > > This communication (including any attachments) is for the use of the > intended recipient(s) only and may contain information that is confidential, > privileged or otherwise legally protected. Any unauthorized use or > dissemination of this communication is prohibited. If you have received this > communication in error, please immediately notify the sender by return > e-mail message and delete all copies of the original communication. Thank > you for your cooperation > > This communication (including any attachments) is for the use of the > intended recipient(s) only and may contain information that is confidential, > privileged or otherwise legally protected. Any unauthorized use or > dissemination of this communication is prohibited. If you have received this > communication in error, please immediately notify the sender by return > e-mail message and delete all copies of the original communication. Thank > you for your cooperation > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Matplotlib-users mailing list > Matplotlib-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users