Hi all,
I have written a vi that create a blank smith chart on a xy graph. This vi allow user to set hoe many grids/circles they want on their smith chart. The default number of grids is 6. Now I'm trying to add another feature to this which allows the user to zoom in and zoom out the smith chart and my vi can automatically adjust the number of grids/circles displayed on the smith chart just like the auto scale function found on a vector network analyzer. I've been doing a lot of searching on any sort of similar algorithm for nice grid line interval but couldn't find any useful. Has anyone done something similar to this in labview?
Any help would be appreciated.
MV
PS: I attached my vi if anyone want to play with it. I think my scaling method has been implemented incorrectly though. It doesn't do the same thing as the autoscale option does on the vna