how to display only bottom and left axis lines, but not right and top axis lines?
    18 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Jun
      
 el 31 de En. de 2012
  
    
    
    
    
    Comentada: Frank Pernett
 el 18 de Jun. de 2021
            Matlab plots by default draw 4 lines with tick marks on left, bottom, right and top. I wanted to create 2D plots similar to those in excel, in which only the bottom and left have axis and tick mark, while the line and ticks on right and top are not displaying. I tried set 'Box' to be 'off', but does not seem to work. Any suggestions on how to do this? thank you.
0 comentarios
Respuesta aceptada
Más respuestas (2)
  Andrew Hook
      
 el 31 de Oct. de 2018
        set(gca,'box','off') works. Note the lower case 'box'.
1 comentario
  Jewel Jubic
 el 31 de En. de 2012
        
      Editada: John Kelly
    
 el 12 de Jun. de 2014
  
      Any more examples can you give...
0 comentarios
Ver también
Categorías
				Más información sobre Graphics Performance en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




