From: Johannes Buechler on 13 Aug 2010 10:42 Hi, I don't know if anyone else has the same problem, but I don't understand why Matlab sometimes replicates the x-axis on the top of the plot and the y-axis at the right side in the same moment a curve is actually plotted. I am not talking of the whole axis with Tick labels and axis labels, but only the base line with the ticks. My problem is the "sometimes", because it seems to be random to me. I have written a function with several subplots, which, a few days ago, still did the replication (without my doing, but it was, in that case, what I wanted). Now, after further editing of the function, the replication is not present any more, even though I have not (knowingly) fussed with the axes - I wouldn't even know how to change this behaviour. In order to enforce the replication, I have now created a whole copy of the axes object and set the position of the x-axis to the top and that of the y-axis to the right (and deleted all labels). This, however, is quite inconvenient, considering that it can obviously also work "automatically", without such procedure. In addition, the x-axis does not exactly appear on top of the highest y-tick, which lets the graph look less nice than in the old version with the "automatic" replication. Does anyone know how to control this? I'd apreciate an answer very much because I had this problem a lot of times before already. Thanks a lot Johannes
|
Pages: 1 Prev: select all Constant blocks Next: importdata function behavior changed w/r/t Excel dates |