Hi, Milind.
In attach.
require("iuplua")
require("iuplua_plot")
plot = iup.plot{
MARGINBOTTOM = 20,
AXS_YAUTOMIN = "NO",
AXS_YAUTOMAX = "NO",
}
plot:Begin(0)
plot:Add(0, 109.9)
plot:Add(1, 109.91)
plot:Add(1, 109.92)
plot:End()
plot.AXS_YMIN = 109.80
plot.AXS_YMAX = 110.00
--plot.AXS_YMIN = 109.89
--plot.AXS_YMAX = 109.93
dlg = iup.dialog{
TITLE = "Plot Test",
SIZE = "400x200",
plot,
}
dlg:showxy(iup.CENTER, iup.CENTER)
iup.MainLoop()
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users