![]() fig = figure(2)Īx = fig.add_subplot(111, projection='3d') Any help or advice would be very welcome. Useful when used together with scatter-like traces with cliponaxis set to. This is the entire code for this figure in particular. Determines whether or not the range of this axis is computed in relation to. ![]() If I try to set the z-axis as logarithmic (by adding the line ax.set_zscale('log')), the resulting scaling does not seem to work properly, because the ordering of each power is not equally spaced:Īnd finally, If I try to limit the z-axis to the range of values that I'm interested (by simply adding the line ax.set_zlim3d(1e17,1e19)), instead of cutting the dots to the defined range in this axis, they seem to scape from the graph: Change the axis limits with ax.setylim() and ax. This is the original figure with linear axes and without restricting the z-axis: 1.1 Formatting Options Set the title with ax.settitle() Set the axis labels with ax.setylabel() and ax. Maybe there is a bug in Matplotlib, or I'm not using the commands correctly. I tried different options that I saw in other forums, but the plot does not work properly. I'm plotting the parameter ( Mo) in the z-axis, and would be great to set only this axis to be logarithmic with the range of values that matters. One of those parameters ( Mo) has a variability of values between 10^15 and 10^20 approximately, and I'm interested in plotting the good solutions (blue dots), which vary from 10^17 to 10^19. ![]() I performed a Monte Carlo inversion of three parameters, and now I'm trying to plot them in a 3-D figure using Matplotlib.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |