After much twitching and trying several examples I could do the vector field I was looking for. It looks like this:

Two arrays of vectors around a circle
In the image we can see two arrays of 3D vectors around a circle. Also two sliders that can rotate the 3D axis so as to be able to see the 3D vectors better.
Points to be taken:
As far as I know there is no forum to obtain help when using this tool. Also the pdf manual does not document some functions that you can find int he HTML manual. So as a way of helping I am posting here the code to generate this plot.
Also take attention to the function vecopt. This function disables automatic scaling in vector fields which is the default option!!! I am not really sure why they put automatic as the default as it caused me troubles but well fortunatelly I could disable it
Anyway, here it is the code:
#include "stdafx.h"
#include
#include
#include "dislin.h"
#define NUMPOINTS 40
#define ROT1 184.0f
#define ROT2 0.0f
static int id_draw, id_but, id_lab1, id_lab2, id_scl1, id_scl2;
static float xrot1 = ROT1, xrot2 = ROT2;
float bxp[NUMPOINTS],byp[NUMPOINTS],bzp[NUMPOINTS];
float bxv[NUMPOINTS],byv[NUMPOINTS],bzv[NUMPOINTS];
float range;
void myplot (int id);
int _tmain(int argc, _TCHAR* argv[])
{
int i;
int ip, ip1, ip2;
double fpi=3.141592653;
range=100.0; //used to be one
double radius=80.0; //radius of the pedal
// Preparing the data
float angle=0; // the angle of rotation
float anglestep=((2*fpi)/NUMPOINTS); //the rotation step at which we graph the vectors
for(i=0,angle=0; i<NUMPOINTS;i++,angle+=anglestep)
{
bxp[i]=radius*sin(angle);
byp[i]=0.0;//-100.0;
bzp[i]=radius*cos(angle);
printf("%f %f %f \n",bxp[i],byp[i],bzp[i]);
bxv[i]=40.0*sin(2*angle);
byv[i]=0.0;
bzv[i]=0.0;//40.0;//*sin(angle/2);//0.0;
}
swgtit ("DISLIN 3D Vector Field"); // Defines a title displayed in the main widget
ip = wgini ("hori"); // Initializes the widget routine and creates main widget
swgwth (-50); //sets default width of horizontal and parent base widgets
ip1 = wgbas (ip, "vert"); // creates a container widget
swgwth (-15);
ip2 = wgbas (ip, "vert"); // creates a container widget
// swgdrw(0.4);
swgdrw ((float) (2100./2970.)); //modifies the height of draw widgets
// the default here which is height=width (a square draw widget)
id_lab2 = wglab (ip1, "3D Vector Field:"); //creates a LABEL widget
id_draw = wgdraw (ip1); // creates a DRAW widget for PLOTTING
swgopt ("track", "scroll"); //set widgets options
// changes the behavior of callback routines
// for track the callback routine is called for every change
id_lab1 = wglab (ip2, "Azimuthal Rotation Angle:"); //LABEL
id_scl1 = wgscl (ip2, " ", 0.f, 360.f, ROT1, -1); //creates a SCALE widget
id_lab1 = wglab (ip2, "Polar Rotation Angle:"); //LABEL
id_scl2 = wgscl (ip2, " ", -90.f, 90.f, ROT2, -1); // SCALE
swgcbk (id_scl1, myplot); // connects a widget with a callback routine
swgcbk (id_scl2, myplot);
myplot (id_scl1);
wgfin (); //terminates the widgets routines
return 0;
}
void myplot (int id)
{
if (id == id_scl1)
xrot1 = gwgscl (id); //returns the value of a scale widget
else if (id == id_scl2)
xrot2 = gwgscl (id);
scrmod ("revers"); //background white
setxid (id_draw, "widget"); //defines an external graphic windows (all graph output is sent
//there id_draw is the widget id)
metafl ("xwin"); //defines the metafile format
disini (); //initiates dislin
erase(); //erases the plot
hwfont (); //sets a font
name ("X-axis", "x"); //defines axis titles
name ("Y-axis", "y");
name ("Z-axis", "z");
labdig (-1, "xyz"); //sets the number of digits after decimal point(-1: integer)
// center();
// axspos (400, 2300); //determines the position of an axis system
axspos(800,2000);
axslen (1800, 1800); //determines the size of an axis system
view3d (xrot1, xrot2, 6.0f, "angle"); //defines the VIEWPOINT!
height (50); //defines the character height
graf3d (-range, range, -range, 0.2*range, -range, range, -range, 0.2*range, -range, range, -range, 0.2*range);
box3d (); //plots a border around the 3Dbox
// vecclr (-2); // defines the colors of the arrows heads
vecopt(1,"scale");
color("red");
vectr3(0.,-100.0,0.,20.0,-100.0,0,-2);
//vecclr(254);
vecf3d(bxv,byv,bzv,bxp,byp,bzp,NUMPOINTS,-1);
color("blue");
vecf3d(byv,bxv,bzv,bxp,byp,bzp,NUMPOINTS,-1);
disfin (); //ends dislin
}
As you can see the code is heavily commented so that anyone can understand what is happening.
There are still some issues I want to address (add mouse capability, and some issues with the height of the draw widget but I think it is going well so far)