i was asked to plot gm(by sweeping vgs and vds=vdd/2) and in another file plot gds(sweeping vds and vg=vdd/2)
and them combine them.but it gave a straight line.
Surely learn and understand Custom Waveviewer.
Or use functions of ACE(Analysis Command Environment) manually in Custom Waveviewer.
Actually your operation using GUI is done by function of ACE.
I checked the source code for verilog-a implementation for carbon nanotube fets and I could not find the definition of gm.
But I know other veriloga models, for example for BSIM-IMG, the operating parameters are defined.